How to determine the sizes of the partitions of Hard Drive [Partitioning Strategy]

Hard Disk


If you have finally decided to partition your hard drive into several partitions after reading All you want to know about Hard Drive Partitions, then you are at the right place. 


After deciding to partition your hard drive according to your needs, you must have the basic knowledge about the type of partitions as they are very crucial in setting up a multi-boot system, create a back up of your system and for your any other needs.


Partition Types of PC 

This section describes the master boot record (MBR) partitioning scheme, as used in DOS, Microsoft Windows and Linux among others on PC compatible computer systems. For examples of partitioning schemes used in other operating systems, see the general article on partition tables.
The total data storage space of a PC hard disk can be divided into at most four primary partitions, or alternatively three primary partitions and an extended partition. These partitions are described by 16-byte entries that constitute the Partition Table, located in the master boot record.
The partition type is identified by a 1-byte code found in its partition table entry. Some of these codes (such as 0x05 and 0x0F) may be used to indicate the presence of an extended partition. Most are used by an operating system's bootloader (that examines partition tables) to decide if a partition contains a file system that can be used to mount / access for reading or writing data.

  • Primary Partition
    A primary partition contains one file system. In DOS and earlier versions of Microsoft Windows systems, the system partition was required to be the first partition. More recent Windows operating systems (Win7, XP, etc.) can be located on any partition, but the boot files (bootmgr, ntldr, etc.) must be on a primary partition. However, other factors, such as a PC's BIOS (see Boot sequence on standard PC) may also impart specific requirements as to which partition must contain the primary OS. The partition type code for a primary partition can either correspond to a file system contained within (e.g. 0x07 means either an NTFS or an OS/2 HPFS file system) or indicate that the partition has a special use (e.g. code 0x82 usually indicates a Linux swap partition). The FAT16 and FAT32 file systems have made use of a number of partition type codes due to the limits of various DOS and Windows OS versions. Though a Linux operating system may recognize a number of different file systems (ext4, ext3, ext2, ReiserFS, etc.), they have all consistently used the same partition type code: 0x83 (Linux native file system).

  • Extended partitionA hard disk may contain only one extended partition; the extended partition can be subdivided into multiple logical partitions. In DOS/Windows systems, each logical partition may then be assigned an additional drive letter.
Partitions' Sizes [Partitioning Strategy]
This is the most important part in the process of partitioning to determine the suitable sizes of the partitions. These sizes should be chosen with great care, as it can be very difficult to change in the future, when the data is already stored in it.

It can be illustrated by a simple useful example.

Question: I have a 1TB (931 GB) hard drive to play with. And my needs are as following:

  1. To setup a dual-boot system. (Windows and Linux)
     
  2. To back up my data. (Max 250GB)
     
  3. To store movies and media.
These are the basic need of mine. What is the partition strategy?
Answer: You can partition your hard drive as following:
  1. 150GB partition for Windows
     
  2. 150GB partition for Linux
     
  3. 400GB partition for Movies and Media
     
  4. Remaining 231GB for Backup & Restore operations
If you want to have more data on the Movies & Media section, you may consider it to have 500 or 600 GBs, cutting the size of linux and/or Windows partition to 50GBs, as 50 to 80 GB is enough to have a OS on it!

So, after this assistance, if you have decided about the partitions' size and types, you may proceed further to actually partitioning your Hard drive.