Main Page | See live article | Alphabetical index

Hard disk drive partitioning

In the field of computer engineering, hard disk drive partitioning is the creation of logical divisions upon a hard disk drive that allows one to apply operating system-specific logical formatting.

Disk partitioning is a simple technique which can be viewed as a precursor of Logical volume management.

More than one operating system can be executed or installed in a single computer, without partition ( using LiveCDs, keydrives or a second hard disk unit with a bootable media -i.e. a floppy- that jumps to the second hard disk).

Fancy partitioning creates separated partitions for /, /boot, /home, /tmp, /usr, /var, /opt and swap, instead of a "/" (root) partition, plus a swap partition.

Table of contents
1 Drive partitioning on the IBM PC
2 See also
3 External links

Drive partitioning on the IBM PC

For an detailed discussion of how partitioning is implemented in the IBM PC architecture, see Partition (IBM PC). The rest of this article will concentrate on the practical aspects of PC hard drive partitioning.

Partitioning is done for several reasons:

Numerous partitioning schemes have appeared during the years, for almost all computer architectures in existence. Many of them are relatively transparent and allow convenient manipulation of the disk partitions; some however are obsolete in design and are accompanied by numerous quirks.

The partition table, as used in the IBM PC architecture, was first devised in late 1980s, when hard drives were coming into use. It is a simple table, consisting of up to 4 records, each of which indicating where the partition starts, where it ends and what its type is. In addition, an "active" flag is provided that tells the Master Boot Record from which partition to boot.

This scheme is widely considered obsolescent, because it allows for only 4 partitions (later, an expansion of this format that provides for "container" logical partitions that contain up to 4 secondary partitions inside themselves eased this problem somewhat, though by no means solved it), and because it has certain compatibility problems with hard drives bigger than 8 gigabytes in size. As the IBM PC architecture is extremely common, the partition tables are likely to stay for a while. However, a recent project of Intel and Microsoft called the Extensible Firmware Initiative (EFI) has a component called GUID Partition Table (GPT) that will, perhaps, provide a much better solution from the problem on future generations of PCs.

Legacy partition tables are complicated to administer, and have numerous quirks. The reader that is interested in modifying his partition table is strongly advised first to study these quirks, and only then modify the drive. In addition, it is strongly recommended to do the modifications only using properly tested partition utilities, such as GNU Parted or PowerQuest's Partition Magic.

See also

External links