How to Format a Hard Drive

This article includes the basics for high-level formatting. To learn more about hard drive formatting, read the following article.

Provided By:

Steps

For Windows XP

  1. If you want to save any of the data on the disk, back it up by copying it to a CD or another hard drive. Formatting will destroy ALL of the data on the disk.
  2. Use the Windows XP CD-ROM to boot the computer.
  3. Select the "Recovery Console" option.
  4. At the prompt, type FORMAT C:

For Windows 9x (95, 98, Me)

  1. If you want to save any of the data on the disk, back it up by copying it to a CD or another hard drive. Formatting will destroy ALL of the data on the disk.
  2. Use a startup floppy (sometimes called a "boot disk") to obtain a DOS prompt.
  3. Type FORMAT C:

For Linux or BSD

  1. Boot from a livecd or diskette
  2. Open a terminal window (usually something like xterm or konsole)
  3. Log in as root by typing su and entering the password
  4. Type mkfs.ext2 /dev/hdaxx where you change the ext2 by the filetype you want (e.g. ext2, ext3, reiserfs,...) and the axx by the letter of your drive and the number of the partition you want to format. (e.g. /dev/hda1, /dev/hdc32,...). Using the -j option (mke2fs -j) will create the ext3 (or journaled) file system that is much more resistant to the unexpected power loss.
  5. Under Linux, you can also format the hard drive in FAT file system that is readable from Windows (use mkfs.vfat instead of mkfs.ext2). However such partition cannot store the root of the Linux operating system.

Tips

  • Partition(s) must be created on a drive before it is formatted.
  • Give the process some time to complete. Install your operating system of choice, or use the blank disk for another purpose.
  • For more secure formatting, there are programs available which write zeros or garbage characters over the entire disk, making the deleted information unrecoverable.
  • C: and /dev/hda are your primary partitions. If you are trying to format another partition or drive, replace C: or hda with the appropriate drive letter, such as D: or /dev/hdb, for example.
  • Advanced: Choose a good filesystem for your new partition. For Windows, NTFS is the best option. Linux and BSD are more varied. XFS or EXT3 are good choices. XFS has higher performance, while EXT3 has better recovery. Mac users should use HFS+. Solaris users should definitely choose ZFS. Dragonfly BSD users should consider HAMMERFS.

Warnings

  • Make sure that you format the correct drive, and that you have backed up any data you don't want to lose.
  • Hard drives can have multiple partitions, so be sure to check which drive and which partition you're formatting. For example, a C: and D: partition may exist on one drive. It isn't unusual to have them exist out of sequence due to Microsoft's FAT and NTFS partitioning scheme. For example, C: and E: may be partitions on the first drive, and D: may be a partition on the second drive. If in doubt, you a partition tool such as Gparted or Fdisk to determine which partition is on which drive.

Sources and Citations

  • How To Partition A Hard Drive Using Windows XP

Article provided by wikiHow, a wiki how-to manual. Please edit this article and find author credits at the original wikiHow article on How to How to Format a Hard Drive. All content on wikiHow can be shared under a Creative Commons license.

Related Articles
- Migo Drive Washer
Whether you are planning on giving your computer away, selling it on eBay or just setting it at the curb with the rest of your trash, you need to take appropriate precautions to ensure that your personal and confidential data does not get shared. Migo Drive Washer allows you to safely pass on your computer knowing that all your personal data is gone - for good.
- How to Have More Than Two Hard Drives in a PC
- How to Recover Hard Disk Space Using NoClone
- How to Regain Some Hard Drive Space
- How to Recover Data from an Inaccessible Hard Drive in WinXP
- How to Hide and Lock Hard Disk Drives
- How to Hook up a Hard Drive
- How to Build an External Hard Drive
- How to Copy Files to an External Hard Drive
- How to Add an Extra Hard Drive
Regional Articles
- How to Format a Hard Drive Alabama
- How to Format a Hard Drive Alaska
- How to Format a Hard Drive Arizona
- How to Format a Hard Drive Arkansas
- How to Format a Hard Drive California
- How to Format a Hard Drive Colorado
- How to Format a Hard Drive Connecticut
- How to Format a Hard Drive DC
- How to Format a Hard Drive Delaware
- How to Format a Hard Drive Florida
- How to Format a Hard Drive Georgia
- How to Format a Hard Drive Hawaii
- How to Format a Hard Drive Idaho
- How to Format a Hard Drive Illinois
- How to Format a Hard Drive Indiana
- How to Format a Hard Drive Iowa
- How to Format a Hard Drive Kansas
- How to Format a Hard Drive Kentucky
- How to Format a Hard Drive Louisiana
- How to Format a Hard Drive Maine
- How to Format a Hard Drive Maryland
- How to Format a Hard Drive Massachusetts
- How to Format a Hard Drive Michigan
- How to Format a Hard Drive Minnesota
- How to Format a Hard Drive Mississippi
- How to Format a Hard Drive Missouri
- How to Format a Hard Drive Montana
- How to Format a Hard Drive Nebraska
- How to Format a Hard Drive Nevada
- How to Format a Hard Drive New Hampshire
- How to Format a Hard Drive New Jersey
- How to Format a Hard Drive New Mexico
- How to Format a Hard Drive New York
- How to Format a Hard Drive North Carolina
- How to Format a Hard Drive North Dakota
- How to Format a Hard Drive Ohio
- How to Format a Hard Drive Oklahoma
- How to Format a Hard Drive Oregon
- How to Format a Hard Drive Pennsylvania
- How to Format a Hard Drive Rhode Island
- How to Format a Hard Drive South Carolina
- How to Format a Hard Drive South Dakota
- How to Format a Hard Drive Tennessee
- How to Format a Hard Drive Texas
- How to Format a Hard Drive Utah
- How to Format a Hard Drive Vermont
- How to Format a Hard Drive Virginia
- How to Format a Hard Drive Washington
- How to Format a Hard Drive West Virginia
- How to Format a Hard Drive Wisconsin
- How to Format a Hard Drive Wyoming
Related Articles
- How to Build an External Hard Drive
One of the simplest ways to give your laptop more hard drive space, or backup all of your important files without burning them to CD or DVD, is to build your own external hard drive. This hard drive would be able to connect to any computer with a spare USB port. You can easily and quickly transfer large files between computers, and also have a form of backup in the event something ever happens to your computer. This external hard drive will work on computers running Windows 2000/XP, OS X, or Linux.
- How to Recover Data from an Inaccessible Hard Drive in WinXP
- Migo Drive Washer
- How to Hide and Lock Hard Disk Drives
- How to Regain Some Hard Drive Space
- How to Recover Hard Disk Space Using NoClone
- How to Add an Extra Hard Drive
- How to Copy Files to an External Hard Drive
- How to Hook up a Hard Drive
- How to Have More Than Two Hard Drives in a PC

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Advertising Family Home Services Real Estate Resources
Business Services Fashion Industrial Goods & Services Retail & Consumer Services
Career Financial Services Insurance Software
Cars Food & Beverage Internet Technology
Computer Hardware Franchise Legal Telecommunications
Construction Health Miscellaneous Trade Shows
Education Holidays Nightlife Travel
Entertainment Home Appliances Online Database Weddings
Environmental Home Electronics Pets World History