Recycle your Computers & Technology with us.

how do i format a hard drive?

Posted By : Ileen of Katharine Gibbs School - New York on February 5, 2003

Follow us on Facebook   Follow us on Twitter   Follow us on LinkedIn

Let Data Doctors be your personal IT department today

how do i format a hard drive?

This question was answered on February 5, 2003. Much of the information contained herein may have changed since posting.


1.Check Version Number: At the DOS prompt, enter the following command: "ver" The system will respond with the version of DOS/Windows you have booted Make sure that this matches whatever you want to install on the hard disk For Windows 95 OEM SR2 the version number will be "4.00.1111"

2.Plan Partitions: Decide how you want to partition your hard disk In particular, for large hard disks under Windows 95 OSR2, decide if you want to set up your hard disk with a single large FAT32 partition, or several smaller FAT16 partitions (You can of course mix these) I provide instructions for doing either of these, but it's completely up to you how to set up your system You must decide based on what makes sense for you Most people today prefer to set up a new system using a single FAT32 partition

3.Run FDISK.EXE: From the command prompt, enter the command "fdisk" If you have a disk large enough to warrant the use of FAT32, you will be asked if you want to enable "large disk support" Enter "Y" if you want to enable FAT32, or "N" if you do not want to enable FAT32 If you do enable this, any partitions over 500 MB that you create will be FAT32 Note that if you do not enable FAT32, you will not be able to put your entire hard disk into one partition if it is greater than 2 GB in size

If you decided to place your entire hard disk into a single partition, then follow this step:

4.Partition Hard Disk (Single Partition): Follow these steps to set up your hard disk:

A.Select from the FDISK menu "1 Create DOS partition or Logical DOS Drive"

B.Select "1 Create Primary DOS Partition" FDISK will verify drive integrity Then it will ask if you want to use the maximum available size of the disk for the primary partition and set it active Enter "Y" The system will allocate the whole disk to the partition, and that's that

C.Press {Esc} to exit FDISK If instead you want to set up your hard disk with multiple partitions (or if you don't have Windows 95 OEM SR2), follow this step In order to make the process easier to follow, I am going to use an example below In the example, a 3100 (binary) MB hard disk is being partitioned into four partitions of 1000 MB, 800 MB, 700 MB and 600 MB respectively:

If you decided to place several partitions on your drive, then follow this step:

4.Partition Hard Disk (Multiple Partitions): Follow these steps to set up your hard disk:

A: Select from the FDISK menu "1 Create DOS partition or Logical DOS Drive"

B: Select "1 Create Primary DOS Partition" FDISK will verify drive integrity Then it will ask if you want to use the maximum available size of the disk for the primary partition and set it active Enter "N" The system will show the size of the entire disk in MB

C: Enter the size of the primary partition In our example, this would mean entering "1000" The system will tell you that it has created the primary partition, and will assign it the drive letter "C:"

D: Press {Esc} to return to the FDISK menu

E: Select "2 Set active partition" Select partition 1 FDISK will report that it has set partition 1 active

F: Press {Esc} to return to the FDISK menu

G: Select from the FDISK menu "1 Create DOS partition or Logical DOS Drive"

H: Select "2 Create Extended DOS Partition"

I: When prompted, press {Enter} to select the entire remaining area of the disk for the extended DOS partition FDISK will report that it has created the extended DOS partition

J: Press {Esc} FDISK will automatically prompt you to create your first logical DOS volume within the extended DOS partition

K: Enter the size of the first logical partition (the second partition overall) In our example you would enter "800" FDISK will create the partition, label it "D:", and then say "Logical DOS Drive created, drive letters hanged or added" Don't touch anything, just wait, and FDISK will prompt you for the next volume

L: Repeat the previous step for the remaining partitions (in our example there would be two more partitions to create, the 700 MB and 600 MB ones) When all of the partitions have been created, FDISK will report All available space in the Extended DOS Partition is assigned to logical drives"

M: Press {Esc} to exit FDISK

Continue with the overall procedure:

5.Reboot: Reboot the system using either the Reset button or the ({Ctrl} {Alt} {Delete}) Make sure the floppy disk is in its drive, since you still need it Note that you may get "Invalid media type reading drive C" errors while rebooting This is normal at this stage

6.Format Primary Partition: From the "A:" DOS prompt, issue the following command: "format c:/s" Do not forget the "/s", as this is what will make your C: drive bootable You will get a "scary" warning message such as "WARNING, ALL DATA ON NON-REMOVABLE DISK DRIVE C: WILL BE LOST Proceed with Format (Y/N)?" Since of course there is no data presently on drive C:, just enter "Y" and the system will format the hard disk The program will show you its progress as it formats and at the end will prompt you for a volume label Enter one if you wish

7.Format Additional Partitions (if necessary): If you set up multiple partitions, format the additional partitions now This is done in almost the same way as formatting the primary DOS partition, except that you leave off the "/s" So normally you would be entering "format d:", "format e:" and so on, until all the partitions have been formatted The prompts should be the same as in the preceding step

Warning: If you have a second hard disk in the system and it has a primary DOS partition, that partition is probably assigned D: because DOS assigns letters to all primary partitions before any logical partitions Be careful of what you format.

8.Remove Boot Floppy: Eject the boot floppy from the floppy disk

9.Reboot: Reboot the system using either the Reset button or {Ctrl} {Alt} {Delete} The system should boot up from the hard disk this time, and stop at the "C:" prompt Note that if you get an error such as "NO ROM BASIC, SYSTEM HALTED" or "No boot device found" at this stage, this means you forgot to set the primary DOS partition "active" Reboot from the floppy, run FDISK again and use option 2 to set the primary partition active, then reboot If you get an error like "No operating system", this means you probably forgot the "/s" parameter when formatting the C: drive Put the floppy disk back in the drive and then return to step 5

About the author

Posted by Ileen of Katharine Gibbs School - New York on February 5, 2003

Need Help with this Issue?

We help people with technology! It's what we do.
Contact or Schedule an Appointment with a location for help!