keepcalculator

06 Numbers and Powers

MBR: Partition Details & Legacy Startup Explained

Card No. 06·63338 · Updated · Standard formula, shown below

The Master Boot Record (MBR) is the first 512 bytes of a storage drive that holds the partition table and contains the boot loader code used to start legacy BIOS-based operating systems. Yes, MBR holds partition details and guides legacy startup, acting as the bridge between the firmware and the OS loader.

What MBR Actually Does

MBR is the traditional partitioning scheme for BIOS-based computers. It lives in the first sector of the drive (sector 0) and contains two critical pieces: the boot code (first 446 bytes) and the partition table (next 64 bytes). The boot code is executed by the BIOS at startup; it scans the partition table, finds the active partition, and loads its boot sector. The partition table stores up to four primary partitions, each with a type, start sector, and size. MBR also supports extended partitions that chain logical drives, but the 32-bit entries limit the maximum addressable disk to 2 TiB.

How Legacy BIOS Boots with MBR

When you power on a legacy BIOS machine, the firmware runs POST, then reads the first sector of the boot drive. It checks the last two bytes for the signature 0x55AA. If valid, the BIOS jumps to the boot code. That code looks for the active partition flag (0x80) in the partition table, loads that partition’s boot sector into memory, and hands control to it. This is why MBR is often called “legacy”—it is the pre-UEFI method of starting an OS. Modern UEFI systems can still read MBR drives via Compatibility Support Module (CSM), but native UEFI boot uses GPT.

MBR vs GPT: Which One to Choose

The choice between MBR and GUID Partition Table (GPT) depends on your firmware and drive size:

  • MBR works with BIOS and older Windows versions (pre-64-bit). It supports up to 4 primary partitions and drives up to 2 TiB. Use it for very old PCs or when you need maximum compatibility with legacy tools.
  • GPT is required for UEFI boot and supports drives larger than 2 TiB, up to 128 partitions, and includes redundant headers for better data recovery. It is the default for all modern systems.

If your motherboard is from the last decade, GPT is almost always the better choice. Only use MBR when you must boot on a BIOS-only system or need to read the drive with very old software.

Common MBR Problems and Fixes

MBR is prone to corruption, which manifests as “Invalid partition table” or “Operating system not found.” Causes include improper shutdowns, malware, or disk errors. You can repair the MBR from a Windows recovery environment using bootrec /fixmbr or from Linux with grub-install. Another issue is the 2 TiB limit: if you try to use a larger drive with MBR, the extra space becomes unallocated. Also, converting between MBR and GPT requires wiping the disk unless you use special tools that preserve data—always back up first.

How to Check and Convert Your Disk

To see whether your disk uses MBR or GPT, open Disk Management in Windows (right-click Start → Disk Management), right-click the disk name, and select Properties → Volumes. The partition style is listed there. In Linux, run sudo fdisk -l and look for “Disklabel type: dos” (MBR) or “gpt”. To convert from MBR to GPT without losing data, you can use the mbr2gpt tool in Windows 10/11 (run as administrator, then mbr2gpt /convert). Always ensure your firmware is set to UEFI mode and back up critical files before attempting conversion.

Safety and Backup Considerations

Editing the MBR is risky because a mistake can make the entire drive unreadable. Always back up your data before any partition operation. When using disk tools like fdisk or DiskPart, double-check the disk number—it is easy to target the wrong drive. Never write to the MBR of a system drive while the OS is running; use a recovery environment or live USB. For dual-boot setups, installing a second OS can overwrite the MBR, so keep a bootable repair disk handy.

Frequently Asked Questions

Does MBR support drives larger than 2 TB?

No. MBR uses 32-bit logical block addressing, which caps the maximum addressable space at 2 TiB (actually 2.2 TB with 512-byte sectors). To use a larger drive, you must convert to GPT, which supports up to 9.4 zettabytes.

Can I convert MBR to GPT without losing data?

Yes, on Windows 10/11 you can use the built-in mbr2gpt tool, which converts without data loss if the disk has enough unallocated space for the GPT headers. On Linux, tools like gdisk can also convert, but always back up first.

What is the difference between MBR and boot sector?

The MBR is the first sector of the disk and contains the partition table plus boot code. A boot sector (or volume boot record) is the first sector of a partition and contains code that loads the OS kernel from that partition. The MBR loads the active partition’s boot sector.

Why does my BIOS not see the MBR drive?

Possible reasons: the drive is not set as the first boot device, the MBR is corrupted, the drive uses GPT but the BIOS is in legacy mode (or vice versa), or the SATA mode is set to RAID when it should be AHCI. Check BIOS settings and try a different cable or port.

Is MBR still used in 2025?

Yes, but mainly for older hardware, small USB drives, or when you need compatibility with very old operating systems like Windows XP. All modern Windows, macOS, and Linux installations default to GPT on UEFI systems.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →