eHow launches Android app: Get the best of eHow on the go.

How To

How to Format a USB Flash Drive in Ubuntu

Contributor
By Kim Linton
eHow Contributing Writer
(0 Ratings)
Using GParted to format a flash drive in Ubuntu.
Using GParted to format a flash drive in Ubuntu.

USB (Universal Serial Bus) flash drives are rewritable storage devices designed to be portable and easy to use. Flash drives are typically formatted by default with Windows file formats like FAT16/32. Since Ubuntu Linux users tend to prefer native Linux file formats like RiserFS or Ext 2/3, formating the drive before storing data on it is a good idea. Follow these steps to format a USB flash drive in Ubuntu.

Difficulty: Easy
Instructions

Things You'll Need:

  • Ubuntu administrator password
  1. Step 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. Step 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. Step 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. Step 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. Step 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. Step 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.

Tips & Warnings
  • Linux file formats will not work in Windows, but Windows FAT16/32 formats work in all versions of Linux, including Ubuntu. If you plan to use your flash drive in a computer running both Windows and Ubuntu, format the drive to FAT16 or FAT32 instead.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics