The MBR partition table, introduced with IBM PC DOS 2.0 (1983), holds four primary entries (with extended and logical partitions) in sector 0 and is limited to 2 TiB with 512-byte sectors. It remains in use for BIOS booting, small and removable media and older disks, though GPT is the default for large disks.
Overview
The MBR occupies sector 0: 446 bytes of boot code, four 16-byte partition entries (status, CHS start, type, CHS end, LBA start, sector count) and the signature 55 AA. One primary entry may be an extended partition, which holds a linked chain of Extended Boot Records for logical partitions. LBA fields are 32-bit, so addressing is limited to 2 TiB with 512-byte sectors.
History
Introduced with IBM PC DOS 2.0 (1983).
Extended partitions arrived with DOS 3.30.
Structures
Offsets are in bytes from the start of the structure named in each heading. Field names are descriptive and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.
Structures and constants were extracted from the implementation. Prose sections are a summary from public sources; verify details before relying on them.