Partitioning

Partitioning is one of the necessary steps to prepare a drive for use. It is the process of defining certain areas of the hard disk for the operating system to use as a volume. A volume is a section of the drive with a letter, like C: or D:. All hard drives must be partitioned, even if they will have only one partition called C:.

A partition program writes a master partition boot sector to cylinder 0, head 0, sector 1. The data in this sector defines the start and end locations of each of the other partitions. It also indicates which of these partitions is active, or bootable, thus telling the computer where to look for the operating system.

All systems can handle 24 partitions, either spread out on the same drive or many drives. This means that one can have up to 24 different hard drives, according to DOS. DOS can’t recognize more than 24 partitions, although some other OSes may. The limiting factor is simply the availability of letters. All partitions must have a letter. There are 26 letters, A: and B: are reserved for floppy drives, leaving 24 letters available.

Although there are third party partitioning programs that boast added capabilities, DOS FDISK is the accepted program for partitioning. FDISK sets up the partition in a way optimum for DOS, and allow more than one OS to operate on one system.

FDISK only shows two DOS partitions, the primary partition and the extended partition. The extended partition is divided into logical DOS volumes, each being a separate partition. The minimum partition size is one megabyte, due to the fact that FDISK in DOS 4.0 or later create partitions based on numbers of MB. Partition size is usually limited to 2G. DOS versions earlier than 4.0 allow max partitions of 32MB. Using the Fat32 system under DOS 7 and Windows 95 OSR2, max partition size is kicked up to 2T, or 2,000G.

While FDISK has no trouble recognizing FAT partitions, it will not recognize partitions once formatted with NTFS.  If you wish to make changes to NTFS partitions, it may be easier to use Windows’ Disk Management tool.  NTFS partitions do not delete in FDISK like FAT partitions would.  A zero-fill of the drive may be needed to remove the NTFS partitions if FDISK is the only option.  Note that this will erase all the data on the drive.

How To Partition

The first partition is your primary DOS partition. This is your C: drive and can’t be divided. This is also called the active partition. You can only have one active partition.

The second partition is optional. It is called an extended partition. This is the space left over after the primary partition. Each extended partition must be labeled with a letter D: through Z:. In FDISK, there is one extended partition, with it being divided up into Logical DOS Drives which each have a drive letter.

To start this, type “fdisk” at the A> prompt. If this doesn’t work, it is because your drive is not installed correctly.

First you have to setup a primary DOS partition. Choose Option 1 ( Create DOS partition or Logical DOS drive). Choose Option 1 in the next menu. Now you can make your entire C: drive the primary partition or only a part of it. Many people just make the entire drive one partition just to stay simple. If you want to break from this norm, specify the amount of drive you want to partition in either megabytes or percentage of total drive. If you are using a percentage, be sure to follow the number by a “%” or the computer will think you’re talking MB’s.

Next, you’ll need to make this partition active. Return to the main FDISK menu and choose Option 2 ( Set Active Partition). Follow the prompts.

If you’re going to create an extended partition, choose Option 1 again, but this time choose Option 2 in the next menu ( Create Extended DOS partition). Plug in the percentage of drive to partition for this one. Do not make this partition active. Only one can be active.

After you create an extended partition, you will be given the Create Logical Drives option in the extended partition menu. Follow the on-screen instructions to assign drive letters to your partitions D: through Z:. Keep in mind that D: is often used for the CD-ROM.

After all this is done, you can choose Option 4 ( Display Partition Information) and check your work.

Optional FDISK Functions

FDISK in DOS 5.0 or later is more powerful than most people know. There are several options available with the program that are undocumented in the DOS manuals. The bad news is that these command are unavailable with Windows 95. Instead, you will have to purchase a third party program such as PartitionMagic.

The most useful, in my opinion, is the “/MBR” parameter. This parameter tells FDISK to rewrite the Master Partition boot sector based on the partitions present on the drive, without damaging the partitions on the drive. This is very useful when recovering from a virus that infects the boot sector of the drive. Use it by typing “FDISK /MBR” at the A> prompt.

To back up the partition table onto a floppy diskette, type “MIRROR /PARTN”. This uses the MIRROR program to copy the partition table into a file called PARTNSAV.FIL. This can then be stored on your system disk. To restore this partition info, type “UNFORMAT /PARTN”.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

Discuss This Article (Without Facebook)

11 comments

  1. Thanks for the detailed yet consice instructions – explaining exactly what i need to know.
    It was very easy to find your article, unlike trying to find this info in the MS KB.
    Thanks again.
    This will be the first place i look in the future!
    Barb

  2. Larry Baker /

    I have A compaq presario sr2023wm with windows xp sp2 I have had over a year My old computer was ibm with w98. My new computer has sata set up for the hard drive and also a ide plug on the mother board, I was told that I could plug my old ide hard drive in and it would be good to go like on the old computer but when I did that nothing showed up, with that I took it out. I looked on the internet to try and find out what to do but talk over my head when they talk about partition and DOS they lost me.
    Any suggestions or am I in over my head
    Larry Baker

    • Hey, your not over your head you’ve just missed out on something to do when installing a IDE harddrive with operating systems above windows 98. All you need to do is plug it back in like you did before but when you go into My Computer, you will notice the drive will not display that’s because you need to format the drive and in windows xp and vista you need to right-click on My Computer and go to “Manage”. In the window that comes up, click Disk Management in the left pane. Once it loads, you should see an “Initialize Disk” wizard pop up. Partition and format the disk to your liking, but make sure not to convert it to a Dynamic Disk, as doing will provide plenty of annoyances later on. By the way i’m 15 years old =] Hope i helped.

  3. michele /

    Thank you! Found lots of articles on how to install the second hard drive. Only this one helped explain what to do after that.

  4. Martin /

    help please im not sure what to do.
    my windows system is on my old ide hard drive its only 13G.
    so i got a new hard drive which is a sata one 250G.
    ive managed to install it and it works. The only thing is when i download things and games and programs it still saves on the old drive how do i set it up so that the windows system is still on the old drive but the file system is on the new drive so that when i save something to my docs or install a new program its using the sata drive not the ide?

    • hi martin what you have to do is set the jumpers on the ide drive to say slave so when you save something it will go top the master (your sata drive) hope that helps ;) .

  5. Your site was a big help in formatting my new hard drive. Thank you.

  6. I have installed a new sata 640 g hd and also installed my
    OS and everything is working right but I cannot get to the internet and I can not find my my OS extra drivers or utilities disks what do you suggest that I do – thanks for your advise

  7. romero /

    i have a problem installing my start up disk…when i boot my computer is says bootmngr missing…press alt-ctrl-dlt….is it my hard drive…or am i installing something wrong

  8. I’m getting ready to install a second hard drive on my Dell Dimension E310. Nothing in it has been modified and happened to have a Seagate Barracuda 7200.7 SATA HD that I bought years before and found it wouldn’t work on the computer I had then. I kept it and just recently realized it could work on my Dell. Are there any problems I might be able to anticipate ahead of time? I want this to be a second HD, not a replacement. I’ve never done this before but figure I can do the physical part but might need advice on the set up and how I can use it.

  9. Great blog. I really enjoy reading. Great things that you have pointed out here.

Trackbacks/Pingbacks

  1. Installing A Hard Drive - Step by Step » PC Mechanic - [...] Now that you have installing your hard drive under your belt, you might be interested in partitioning your hard ...

Leave a Reply to ryan

PCMech Insider Cover Images - Subscribe To Get Your Copies!
Learn More
Every week, hundreds of tech enthusiasts, computer owners
and geeks read The Insider, the digital magazine of PCMech.

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: