Posts Tagged ‘Format’

How Will You Format USB Pen Drive in Ubuntu Linux

You can format USB pen drive with the help of following commands:

First make sure USB Drive is not mounted.

To Unmount Click on Places > Computer > Select USB pen > Right click > Select Unmount Volume.

Check Partition namel using fdisk command.

Let us assume for now /dev/sda1 is your partition name of your USB drive.

Warning : Careful while entering partition name, Wrong partition name can wipe out your entire hard disk or specific partition volume

To format open terminal window and type the following command

$ sudo mkfs.vfat /dev/sda1

For EXT3 file system

$ sudo mkfs.ext3 /dev/sda1