April 9, 2013

Formatting USB Flash Drive on Linux

This might be a common question of those who have just made a shift from Windows to Linux. You might still be looking for the right click option to format your drive and be shocked why there's no such option available.

I usually use GParted to format HDD, USB drive, or any other storage devices. Here's a step by step guide in doing that:

Make sure you have GParted installed. You can do this by typing this in your terminal:
sudo apt-get install gparted

Type your password if requested.

*Note: I am using Linux Mint so the details on your machine might be different than mine.
  1. Unmount the drive. (Make sure there are no USB Flash drives mounted before proceeding to the next step.)
  2. Run GParted. {Run Terminal ---> Type sudo gparted ---> Enter your Root Password}
  3. On the GParted window, select the drive you want to format. (There's a dropdown box on the upper-left corner where you can see all the installed drives. Check the sizes to see find the drive you want to format.) You should be able to see the partitions of the drive. Partition name should be something like /dev/sdb1.
  4. Right-click on the partition you want to format then select Format to. . . 
  5. Chose the file system type you prefer. (Fat or NTFS is normally used so it could be readable on Windows.)
  6. Click on the Check icon on the top of GParted window.
*Note: You could also use GParted to create partitions.

No comments:

Post a Comment