A primary partition is a disk partition whose entry is stored directly in the main partition table of a disk, most commonly one of the four slots of the Master Boot Record (MBR). In operating systems and OS storage, it is the basic unit into which a disk is divided before a file system is created, and it is the only MBR partition type that legacy BIOS firmware can mark as active and boot from.
The term matters mainly on MBR disks, where it stands in contrast to the extended partition and the logical partitions inside it. On disks using the GUID Partition Table (GPT), every partition is effectively primary, so the distinction largely disappears.
How a primary partition is defined in the MBR
A primary partition is defined by one 16-byte entry in the MBR partition table, which occupies bytes 446 to 509 of the first sector of the disk. Because that table has room for exactly four entries, an MBR disk can hold at most four primary partitions, or three primary partitions plus one extended partition.
Each entry describes where the partition starts, how long it is and what it contains. The table below lists the fields that matter in practice.
| Field | Size | Purpose |
|---|---|---|
| Boot indicator | 1 byte | Value 0x80 marks the active partition |
| Starting CHS address | 3 bytes | Legacy cylinder-head-sector start position |
| Partition type ID | 1 byte | Identifies content, such as 0x07 or 0x83 |
| Ending CHS address | 3 bytes | Legacy cylinder-head-sector end position |
| Starting LBA | 4 bytes | First sector in logical block addressing |
| Sector count | 4 bytes | Length of the partition in sectors |
The 32-bit LBA fields impose the best-known MBR limit: with 512-byte sectors, a partition cannot start or extend beyond about 2 TiB. Disks with 4096-byte logical sectors raise this ceiling to about 16 TiB, but such disks are uncommon and poorly supported by older tools.
Primary, extended and logical partitions
The four-entry limit led to the extended partition, a special primary slot that acts as a container for logical partitions. Logical partitions are described by a chain of Extended Boot Records (EBRs) stored inside the container, so their number is limited only by space and by operating system support.
| Partition kind | Where it is recorded | Maximum number | Can hold a file system |
|---|---|---|---|
| Primary partition | MBR partition table | Four, or three with an extended one | Yes |
| Extended partition | MBR partition table | One per disk | No, it is only a container |
| Logical partition | EBR chain inside the extended one | Limited by space and OS | Yes |
| GPT partition | GPT partition entry array | Typically 128 by default | Yes |
For data storage, a logical partition behaves just like a primary one once a file system is created. The difference lies in booting and robustness: legacy BIOS boot code expects the active partition to be primary, and a damaged EBR can make every subsequent logical partition in the chain unreachable.
The role of primary partitions in booting
On a legacy BIOS system, the primary partition is central to booting because the MBR boot code loads the volume boot record of the partition flagged as active. Only primary partitions can carry that active flag, so the system partition of a BIOS-booted Windows installation must be primary.
Linux boot loaders such as GRUB are more flexible and can load kernels from logical partitions once their own code is running. Even so, many installers place the boot files on a primary partition for compatibility. On UEFI systems with GPT disks, the active flag is irrelevant: firmware reads the EFI system partition by its type GUID instead.
| Firmware and scheme | What the firmware looks for | Primary partition requirement |
|---|---|---|
| BIOS with MBR | Active primary partition | Required for the boot volume |
| UEFI with GPT | EFI system partition by type GUID | Not applicable |
| UEFI with MBR | Partition type 0xEF with FAT file system | Usually a primary partition |
| BIOS with GPT | BIOS boot partition for GRUB | Not applicable |
Planning primary partitions in practice
Planning matters because a fourth primary partition fills the table and prevents any further partitioning without reorganization. A typical Windows installation on an MBR disk already uses two or three primary slots: a system reserved partition, the Windows partition and often a recovery partition.
- Keep the boot and operating system volumes primary on BIOS systems.
- Use an extended partition for additional data volumes when more than four are needed on MBR.
- Prefer GPT for disks larger than 2 TiB and for any UEFI installation.
- Align every partition to a 1 MiB boundary to match modern sector and flash page sizes.
Tools present the concept differently. Windows Disk Management creates primary partitions by default until three exist and then switches to an extended container automatically, while diskpart, fdisk and parted let the administrator choose the type explicitly. Converting between MBR and GPT with tools such as mbr2gpt or gdisk preserves data in many cases, but a verified backup is still essential.
Limitations and common mistakes
Most errors with primary partitions stem from running out of table slots or from confusing MBR rules with GPT rules.
| Symptom | Likely cause | Fix |
|---|---|---|
| No new partition can be created | Four primary entries already used | Convert one to logical or switch to GPT |
| Only 2 TiB of a larger disk is usable | MBR 32-bit sector limit | Convert the disk to GPT |
| BIOS reports no bootable device | No primary partition marked active | Set the active flag on the boot volume |
| Several logical volumes disappear | Corrupted EBR chain | Rebuild the chain with recovery tools |
A frequent misconception is that a primary partition is faster or more reliable for data than a logical one. Performance is identical, because the distinction exists only in the partition table; what changes is bootability and the number of available entries.
In simple terms
A disk can be split into separate sections called partitions, and a primary partition is one listed in the main table of contents at the very beginning of the disk. On older disks that table has only four lines, so you can list only four primary partitions.
If you need more sections, one line points to a separate box that holds extra sections inside it. The computer can start only from a primary partition on these older disks, which is why the operating system usually lives on one.
A practical example
A technician maintains a workshop computer with legacy BIOS firmware and a 1 TB disk using MBR. Windows Setup has created a 500 MB system reserved partition, a 900 GB Windows partition and a 600 MB recovery partition, all primary.
The owner wants two more data volumes for project archives. Creating them as primary partitions is impossible, because only one table slot remains. The technician shrinks the Windows partition by 200 GB, uses the last slot for an extended partition and creates two logical partitions of 100 GB each inside it.
The outcome is five usable volumes on a four-slot disk, while the boot partition stays primary and active. When the machine is later replaced by a UEFI system with a 4 TB drive, the new disk is initialized as GPT, where the four-partition limit no longer applies.