NOT NOW | DON'T ASK AGAIN

Claim Your Free Report Before You Forget...

Weekly tech delivered straight to your inbox. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.


Privacy Policy | More Information

PCMech.com helps normal people get their geek on. We talk about computers, technology, the Internet, social media - anything that makes a geek feel warm and fuzzy inside.

home | about | newsletters |forums | contact | advertising | membership

Helping Normal People Get Their Geek On And Live The Digital Lifestyle

Partitioning

Posted Mar 30, 2001 by David Risley  

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”.

Categories: Hard Drives

Feel Like a Turtle When It Comes to Today's Tech?

Our silver and gold membership programs provide the premium information you need to strap a rocket on and fly. Premium content, exclusive members-only newsletter, no advertising, offline access, and more. Get the Inside Scoop.

About the Author

David Risley is the founder of PCMech.com. He is the brains, the thinker, the writer, the nerd.
David's Website
David on Twitter
David on FriendFeed

2 Comment(s)

  1. barb said:
    3/16/2008 9:52 pm

    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

    [Reply]

  2. Larry Baker said:
    6/15/2008 1:03 pm

    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

    [Reply]

1 Trackback(s)

  1. Installing A Hard Drive - Step by Step » PC Mechanic on Sep 10, 2007

Post a Comment

Members


Search

Lijit Search

Featured Product of The Week

Build Your Own Network

Build Your Own Network

Free Weekly Newsletter

Weekly tech delivered straight to your inbox. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.

Name:
Email:
 

Now Playing on PCMech Video

Feature ImageIs Blocking Ads Right?

Feature ImageA Word On Instant Messaging

See All Videos | PCMech Channel Youtube Channel