Thursday 13 April 2017

How to Format USB Flash Drive in Linux?

In Windows it is very simple, just right click on the USB Drive's icon and click "Format", choose the file system and DONE.
Whereas in Linux there are plenty of different ways of formating a USB Flash Drive to a variety of different file systems.
All the different ways are mentioned here. You are free to choose the way you like the most.

Way1: The Command Line way (recommended)

Just go to the terminal [Ctrl + Alt + T]

Type sudo fdisk -l 
This will show you all the volume in your system. Now find the USB Flash Drive you are looking for (in our case it is /dev/sdc1)

Type sudo umount /dev/sdc1
That will unmout the drive.

Now comes the main part, that is to format the USB Flash Drive. First you need to clarify to which file system you want to partition the drive (it may be ntfs, fat32, etc). In our case we want to format in fat32 file system.
Type sudo mkfs.vfat /dev/sdc1
This will format the USB Flash Drive in the fat32 file system.

Way 2: The GUI way

If you are using Ubuntu , search for "Disks" in the dash.

Now that you've open disks, locate your USB Flash Drive in the window and then click on the gear icon and finally click format.

The other GUI way is by using a Free and Open Source utility software called Gparted. 
Install Gparted on your system
Type: sudo apt-get install gparted

Open Gparted and select you USB Flash Drive from the drop down menu on the top right.

Right click on the partition and click format to fat32.
Go to the top and click apply.
DONE...
 

Search This Blog

How to Format USB Flash Drive in Linux?

In Windows it is very simple, just right click on the USB Drive's icon and click "Form at", choose the file system and DONE. ...