format pendrive with ubuntu terminal

Discuss server installationa nd configuration issues here

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 35
Joined: Thu Jun 28, 2012 2:11 pm

Thu Sep 12, 2013 9:49 pm

First of all type the below command for know the name of your pen drive or memory card"
1.) dmesg | tail

Then unmount your pen drive using the following command.
2.) sudo umount /dev/sdb1 (here sdb1 is your pendrive name)

Then enter the following command to format your pen drive with FAT32 partition.:
3.) sudo mkfs.vfat -n 'Ubuntu' -I /dev/sdb1

Your pen drive is now formatted and ready to use.

Post Reply