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

How To

How to Format a Hard Drive in Ubuntu

Contributor
By Campbell Vertesi
eHow Contributing Writer
(2 Ratings)
The gparted main screen
The gparted main screen
Courtesy of the gparted project

Formatting a hard drive is one of the most common hardware tasks. If you are adding a new drive or partition to your Linux installation, the drive must be formatted before it can be used. Ubuntu Linux makes it easy with the gparted tool, a graphical partition and format manager. Gparted has a clear interface that anyone can use to format a drive for use in Linux, Windows, or both. This guide will show you how to use gparted to format a new drive.

Difficulty: Moderately Easy
Instructions
  1. Step 1

    Collect information about your new hard drive. In a terminal window, run:
    sudo lshw -C disk
    If Ubuntu has detected your hard drive, you will see all sorts of information about it. Make sure to note the "logical name" (the unique file system location Ubuntu has assigned to your new drive).

  2. Step 2

    Start gparted from "System" > "Administration" > "Partition Editor" (sometimes labeled "GNOME Partition Editor"). In the top right corner, select your new hard drive by its logical name.

  3. Step 3

    Check the settings for the disk. Make the partition size the maximum allowable, and check the "Primary Partition" box.

  4. Step 4

    Choose the drive format based on your usage. If you will only be using the drive in Linux, choose "ext3." If you plan to use the drive in Windows as well, choose "FAT32."

  5. Step 5

    Click "Apply."

Tips & Warnings
  • Partitioning and/or formatting a hard drive erases all information on the drive. If this is not a new drive, make sure you have a backup of any information you want to keep.
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
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