Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

MBR

Direct answer

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.

When to use this

Use this when working with legacy MBR partition tables.

First 30 seconds

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.

Operational verification

MBR sector → 4 primary entries → extended chain

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations
Scope / prerequisiteUse this when working with legacy MBR partition tables.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
Evidence references

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.

observation · 1
Key points
  • Max four primary partitions.
  • Max 2 TiB disks.
  • Used with BIOS boot.
Key checks
  • fdisk -l /dev/sdX — dos label
  • parted /dev/sdX print — msdos table
  • Get-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

LimitValue
Primary partitions4 (or 3 primary + 1 extended holding logical partitions)
Maximum addressable size (512-byte sectors)2 TiB
RedundancyNone; a damaged first sector loses the table
BootLegacy BIOS (UEFI can boot MBR disks too, from a FAT partition)

When you meet it

SituationApproach
Disk larger than 2 TiB shows only 2 TiBRelabel 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 UEFIWindows: mbr2gpt /validate then /convert
Lost partition after accidental mklabelparted 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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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

ItemValue
LocationFirst sector (LBA 0)
Partitions4 primary entries
Max size2 TiB with 512-byte sectors
BootBIOS/CSM
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

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%
Confirmation

Confirm action

Continue?