What Is a Master Boot Record (MBR)?

Definition of MBR & how to fix missing or corrupt MBRs

A master boot record (often shortened as MBR) is a kind of boot sector stored on a hard disk drive or other storage device that contains the necessary computer code to start the boot process.

It's created when a hard drive is partitioned, but it's not located within a partition. This means non-partitioned storage mediums, like floppy disks, don't contain a master boot record.

The MBR is located on the first sector of a disk. The specific address is Cylinder: 0, Head: 0, Sector: 1.

It's commonly abbreviated as MBR. You might also see it called the master boot sectorsector zeromaster boot block, or master partition boot sector. However, "MBR" as explained on this page is completely unrelated to other terms that use these letters, like multiple bit rate and memory buffer register.

What Does the Master Boot Record Do?

A master boot record consists of three major pieces: the master partition table, the disk signature, and the master boot code.

Here's a simplified version of the role it plays when a computer is first starting up:

  1. BIOS looks for a target device to boot from that contains a master boot record.

  2. The MBR's boot code uses the volume boot code of that specific partition to identify where the system partition is.

  3. That particular partition's boot sector is used to start the operating system.

As you can see, the master boot record plays a very important job in the startup process. Without this particular section of instructions always available, the computer would have no idea how to start the operating system.

Photo of a puzzle piece floating above a puzzle

PM Images / The Image Bank / Getty Images

How to Fix Master Boot Record (MBR) Problems

Issues with the master boot record can happen for various reasons—maybe a hijacking by an MBR virus, or corruption thanks to a physically damaged hard drive. The master boot record might be damaged in a small way or even removed entirely.

A "No boot device" error usually indicates a master boot record problem, but the message could be different depending on your computer maker or motherboard's BIOS manufacturer.

An MBR "fix" needs to be performed outside of Windows (before it starts) because, of course, Windows can't start.

Some computers will attempt to boot from a floppy before a hard drive, in which case any sort of malicious code that's on that floppy will then be loaded into memory. This type of code can replace the normal code in the MBR and prevent the operating system from starting.

If you suspect that a virus could be to blame for a corrupt master boot record, we recommend using a free bootable antivirus program to scan for viruses before the operating system starts up. These are like regular antivirus tools, but work even when the operating system doesn't.

MBR and GPT: What's the Difference?

When we talk about MBR and GPT (GUID Partition Table), we're talking about two different methods of storing partition information. You'll see an option to select one or the other when you're partitioning a hard drive or using a disk partitioning tool.

GPT is replacing MBR simply because it has fewer limitations. For example, the maximum partition size of an MBR disk that's formatted with a 512-byte unit allocation size is a measly 2 TB compared to the 9.3 ZB (over 9 billion TB) that GPT disks allow.

Also, MBR only allows four primary partitions and requires an extended partition be built to hold other partitions called logical partitions. Windows operating systems can have up to 128 partitions on a GPT drive without the need to build an extended partition.

Another way GPT outperforms MBR is how easy it is to recover from corruption. MBR disks store the boot information in one place, which can easily be corrupted. GPT disks store this same data in multiple copies across the hard drive to make it much easier to repair. A GPT partitioned disk can even identify issues automatically because it periodically checks for errors.

GPT is supported through UEFI, which is intended to be a replacement to BIOS.

FAQ
  • How do I change from MBR to GPT?

    You can convert an MBR disk into a GPT disk using the Windows interface. After backing up or moving the data to a GPT disk, right-click each partition and select Delete Partition or Delete Volume. Then, right-click the MBR disk you want to change to a GPT disk and select Convert to GPT Disk.

  • What is the number of partitions that the MBR partitioning system can support?

    An MBR drive can support up to four standard partitions. These partitions are typically designated as primary partitions.

Was this page helpful?