Monday, January 11, 2010

How to format usb flash drive in ubuntu.


  1. Plug your flash drive into an empty USB port, then back up any data on the drive. Open the main menu, move your cursor over "Accessories," then click on "Terminal." At the terminal prompt type "sudo apt-get install gparted" (without quotes) then hit the "Enter" key on your keyboard.
  2. Enter your Ubuntu administrator password when prompted, then hit the "Enter" key again. This will download and install GParted which is an open source drive partitioning program.
  3. Go to the Ubuntu main menu after the installation is complete, move your cursor over "System," then "Administration," then click on "Partition Editor." Enter your administrator password when prompted, then click "OK."
  4. Click on "GParted" in the toolbar then hover over "Devices" and select your USB flash drive from the list (dev/sdb1 for example). Right-click on the device in the main GParted window, then click "Unmount." It may take a few minutes for the device to be unmounted.
  5. Right-click on the device again (after it is umnounted) then hover over "Format to." Select the desired file system type (RiserFS, linux-swap, Ext 2/3, or FAT16/32 for example), then click "Apply" in the toolbar. Depending on the size of the flash drive, it will take 3 to 4 minutes or so for GParted to complete the process.
  6. Close GParted after the flash drive is formatted. To mount your USB flash drive, unplug it and then plug it back in. The drive is now ready to store data in the file format you selected.

No comments: