An extended partition is a special entry in the Master Boot Record (MBR) partition table that does not hold a file system itself but serves as a container for logical partitions, allowing a disk to carry more than the four partitions that the MBR scheme natively supports. In operating systems and OS storage, it is a legacy structure that still appears on older Windows and Linux installations, external drives and virtual machine images.
Only one extended partition may exist per MBR disk, and it occupies one of the four primary slots. Inside it, a linked chain of Extended Boot Records (EBRs) describes each logical partition. Disks that use the GUID Partition Table (GPT) do not need extended partitions at all.
Why the extended partition exists
The extended partition exists because the classic MBR occupies a single 512-byte sector, and its partition table has room for only four 16-byte entries. When disks grew and users wanted separate volumes for the system, data, swap space or multiple operating systems, four slots proved too few.
Rather than redesign the MBR, DOS 3.2 and later versions introduced a type code that marks one primary entry as extended. The space covered by that entry becomes a nested area in which further partitions can be defined. This preserved backward compatibility with existing boot code and tools while removing the practical cap on partition count.
The table below summarizes the three kinds of MBR partitions and how they relate.
| Partition kind | Maximum number | Holds a file system | Described by |
|---|---|---|---|
| Primary partition | Four, or three with an extended one | Yes | Entry in the MBR table |
| Extended partition | One per disk | No, it is a container | Entry in the MBR table |
| Logical partition | Limited mainly by tools and OS | Yes | Entry in an EBR inside the extended area |
How logical partitions are chained inside it
Logical partitions are described by a linked list of Extended Boot Records, each placed in a sector at the start of its own region within the extended partition. Every EBR uses the same layout as the MBR table, but in practice only two entries are used: the first describes the logical partition that follows, and the second points to the next EBR in the chain.
Addresses inside an EBR are relative rather than absolute. The first entry is measured from the current EBR, while the link entry is measured from the start of the extended partition. This detail matters for recovery tools, because a single corrupted EBR breaks the chain and makes every following logical partition invisible to the operating system even though its data is intact.
| Parameter | Typical value | Significance |
|---|---|---|
| Extended type code | 0x05 (CHS) or 0x0F (LBA) | Marks the container entry in the MBR |
| Linux extended code | 0x85 | Used by some Linux tools, ignored by DOS |
| EBR size | One 512-byte sector | Holds the local table and boot signature |
| Boot signature | 0x55AA at the sector end | Validates the MBR and each EBR |
| Addressing limit | 32-bit LBA, about 2 TiB with 512-byte sectors | Caps the usable disk size under MBR |
Linux names logical partitions starting at number 5 (for example sda5), regardless of how many primary partitions exist, because numbers 1 to 4 are reserved for the MBR slots. Windows assigns them drive letters like any other volume.
Extended partition compared with GPT and other layouts
The extended partition is a workaround specific to MBR, and modern disks increasingly avoid the problem it solves. GPT stores 128 partition entries by default in a dedicated table, with a backup copy at the end of the disk, so no container is needed.
| Approach | Partition limit | Resilience | Typical use today |
|---|---|---|---|
| MBR with extended partition | Three primary plus many logical | Single EBR chain, no backup | Legacy BIOS systems, old images |
| GPT | 128 entries by default | Primary and backup tables with CRC32 | UEFI systems and disks above 2 TiB |
| Logical Volume Manager | Many logical volumes in one partition | Metadata copies, flexible resizing | Linux servers and workstations |
| Windows dynamic disk | Many simple or spanned volumes | Database replicated on the disk | Deprecated in favor of Storage Spaces |
Because GPT also removes the 2 TiB addressing ceiling and is required for UEFI booting of current Windows releases, the extended partition is now mainly a compatibility concern rather than a design choice.
Working with extended partitions in practice
Most partitioning tools create the extended partition automatically when a user requests a fifth volume on an MBR disk. Windows Disk Management does this silently and displays the container as a green outline, while fdisk and parted on Linux ask explicitly whether to create a primary, extended or logical partition.
- Size the container generously: the extended partition must cover all future logical partitions, and enlarging it later requires free space directly adjacent to it.
- Place it last: keeping the extended partition at the end of the disk simplifies resizing and leaves primary slots for boot or recovery volumes.
- Boot from a primary partition where possible: older boot code and some firmware cannot start an operating system from a logical partition.
- Back up the partition layout: saving the MBR and EBR chain with a tool such as sfdisk allows quick restoration after corruption.
Converting an MBR disk with logical partitions to GPT is possible without data loss using tools such as gdisk or the Windows MBR2GPT utility, but MBR2GPT accepts only disks with at most three primary partitions and no extended or logical ones, so such layouts need gdisk or a rebuild, and a full backup remains essential.
Limitations and common problems
The extended partition carries several structural weaknesses that experienced administrators recognize. The most serious is the lack of redundancy in the EBR chain, followed by the 2 TiB limit inherited from MBR.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Logical partitions vanish | Damaged or overwritten EBR | Rebuild the chain with TestDisk or similar |
| Cannot create a new partition | Four primary entries already used | Convert to GPT or reorganize primaries |
| Free space unusable | Unallocated area outside the container | Extend the container if space is adjacent |
| Disk shows only 2 TiB | MBR 32-bit addressing limit | Reinitialize the disk as GPT |
A common misconception is that the extended partition itself can be formatted or assigned a drive letter. It cannot, because it is only a reserved region; only the logical partitions inside it receive file systems.
A plain-language summary
Picture a filing cabinet with only four drawers. If you need more compartments, you can turn one drawer into a box that holds several smaller folders. An extended partition is that box: it uses one of the four main spots on an older disk and lets you fit many smaller partitions inside it.
Newer disks use a different layout that has room for many partitions from the start, so the box is no longer needed. The main point is that extended partitions are a clever fix for an old limit, and you mostly meet them on older computers and drives.
An example from practice
A small engineering office runs a ten-year-old workstation with a 1 TB disk partitioned under MBR. The disk holds a Windows system partition, a recovery partition and an extended partition containing three logical partitions for project data, archives and a Linux test system.
After a power failure, the archive and Linux volumes disappear from both operating systems. The administrator boots a rescue USB, runs a partition recovery tool and finds that the second EBR was overwritten, cutting the chain after the first logical partition. The tool scans for file system signatures and rebuilds the missing EBR entries.
Within an hour, all three logical partitions are visible again with no data lost. The administrator then schedules a migration to a new GPT disk so that the layout gains a backup partition table and no longer depends on a single fragile chain.