Use this when working with legacy MBR partition tables.
MBR
MBR (Master Boot Record) is the legacy partition table in the first sector of a disk. It supports up to four primary partitions and disks up to 2 TiB, and is used with BIOS boot.
1. MBR: max 2 TB, 4 primary partitions.
2. Legacy BIOS boot.
3. Convert with gdisk or mbr2gpt (Windows).
4. Avoid for new systems.
5. Back up before conversion.
MBR sector → 4 primary entries → extended chain
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Needing more than 4 partitions without an extended partition.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Max four primary partitions.
- Max 2 TiB disks.
- Used with BIOS boot.
fdisk -l /dev/sdX— dos labelparted /dev/sdX print— msdos tableGet-Disk | ? PartitionStyle -eq MBR— Windows MBR disks
ReferenceHow it works1 section · depth on demand
Converting to GPT
mbr2gpt /convert /disk:0 /allowFullOS converts a Windows system disk in place (then switch firmware to UEFI). On Linux, sgdisk -g /dev/sdb converts MBR to GPT; back up first and add a BIOS boot or ESP partition for booting.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
The legacy partition table, still common on older systems
MBR (msdos in parted) stores the partition table in the first sector of the disk. The GNU Parted manual notes that msdos labels take primary, extended or logical partition types in mkpart, while GPT requires a name.
# parted /dev/sdb print
Model: ATA WDC WD10EZEX (scsi)
Disk /dev/sdb: 1000GB
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 538MB 537MB primary ext4 boot
2 538MB 1000GB 1000GB extended
5 539MB 1000GB 999GB logical ext4
Limits
| Limit | Value |
|---|---|
| Primary partitions | 4 (or 3 primary + 1 extended holding logical partitions) |
| Maximum addressable size (512-byte sectors) | 2 TiB |
| Redundancy | None; a damaged first sector loses the table |
| Boot | Legacy BIOS (UEFI can boot MBR disks too, from a FAT partition) |
When you meet it
| Situation | Approach |
|---|---|
| Disk larger than 2 TiB shows only 2 TiB | Relabel as GPT (destroys the table; back up first) |
| Windows: "cannot create more partitions" | Four primaries already used; convert to GPT or use extended |
| Converting a boot disk to UEFI | Windows: mbr2gpt /validate then /convert |
Lost partition after accidental mklabel | parted rescue <start> <end> can search for lost partitions |
Inspect safely
# lsblk -o NAME,PTTYPE,SIZE,TYPE,MOUNTPOINTS
# sfdisk -d /dev/sdb > sdb-table.backup # save the table before changes
Use GPT for new disks unless something requires MBR.
Illustrative example (not a system capture).
How it works
MBR stores the partition table in the first 512-byte sector: boot code, four 16-byte partition entries and the 0x55AA signature. 32-bit LBA addressing limits partitions to 2 TiB with 512-byte sectors.
fdisk -l /dev/sda # Disklabel type: dos = MBR
mbr2gpt /validate /disk:0 /allowFullOS # Windows conversion check
Reference
| Item | Value |
|---|---|
| Location | First sector (LBA 0) |
| Partitions | 4 primary entries |
| Max size | 2 TiB with 512-byte sectors |
| Boot | BIOS/CSM |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Partitioning → MBR. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.gnu.org/software/parted/manual/parted.html · confidence 94%