By: David
Risley
Saturday, May 29, 1999 01:36:47 PM
URL: http://www.hardwarecentral.com/hardwarecentral/tutorials/42/1/
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. 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.
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 operating systems may. The limiting factor is simply the availability of
letters. All partitions must have a letter. Th! ere 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 an optimum way and allows 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 creates partitions based on numbers of
MB. Partition size is usually limited to 2G. DOS versions earlier than 4.0 allow
max partitions of 32 MB. Using the FAT32 system under DOS 7 and Windows
95 OSR2, max partition size is kicked up to 2 TB (2 TB = 2048 GB = 2,097,152
MB = 2,147,483,648 KB = 2,199,023,255,552 byt! es).
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:.
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 or only part of the C: drive the primary partition. Many people
make the entire drive one partition just to stay simple. If you don't want to do
so, specify the amount of drive space 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 MBs.
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.
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 commands are unavailable with Windows 95.
Instead, you will have to purchase a third party program such as Norton
Utilities.
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".
Introduction
How to Partition
Optional FDISK Functions
Copyright © 1999 internet.com Corporation. All Rights Reserved.