Master Boot Record (MBR) Explained - IONOS
Master Boot Record (MBR) Explained - IONOS
(https://www.ionos.com/digitalguide/)
Contents
1 What is MBR?
2 Structure and tasks of the MBR
3 Damaged MBR – what action is required?
4 Alternatives to the Master Boot Record
What is MBR?
The MBR is physically the first sector of a data medium (e.g. hard drive or USB stick), which is used by
computers for the booting, or start-up process. The computer must be equipped with a BIOS
(https://www.ionos.com/digitalguide/server/configuration/how-to-enter-bios/) and a x86 operating system.
Note
x86 refers to a specific processor architecture that was introduced by Intel in 1976. Among other
functions, it processes special commands when controlling the operating system which are developed
by chip manufacturers Intel and AMD, for example. x86 processors predominantly had a 32-bit
architecture initially (processing width: 32 bit), but current systems run with more high-performance
64-bit x86 processors (processing width: 64 bit). The 64-bit x86 standard is also referred to as x64.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
The MBR always has the same standard address on a disk: Cylinder 0, Head 0, Sector 1. It’s normally 512
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
bytes in size, which corresponds to the size of a sector on a disk.
OK
An MBR is found on virtually all external storageDigital
media Guide
(e.g. USB sticks) that are compatible with PC
technology (x64/x86 architecture) and can work with Windows. In the case of data media not intended for
starting a PC; the MBR is not operationally engaged but instead only serves as a readable information
(https://www.ionos.com/digitalguide/)
source. For instance, playback devices for audio files find information there about the location and size of
partitions which contain the playable MP3 files.
The start program is contained in the first 446 bytes of the MBR. This rather tiny piece of software is
activated when starting the PC and initiates the booting process. A more extensive procedure with
standardized processing steps is launched, ending with an operating system ready for use (e.g. Windows).
Working memory built into the computer is addressed in order to run this process. It can be addressed if the
computer is able to use electrical energy for the necessary processing after being switched on.
Based on the data media or disk signature, Windows computers (from Windows 2000) identify a data
medium with a partition table.
The partition table documents the allocation of data storage into separate sectors. It does so using four
entries, each comprising 16 bytes, which provide information about the location and size of each partition
(https://www.ionos.com/digitalguide/server/configuration/windows-11-partition-hard-drive/). For example,
where a C:\ partition or D:\ partition begins and ends. In addition, the table contains information about the
time of data storage, such as “FAT32”, “LINUX Native” or “Dynamic Disk”. The order of the partitions in the
partition table does not always reflect the physical arrangement on the hard drive.
The MBR or boot signature contains the strings “55” and “AA” in two bytes. A master boot record is
recognized thanks to its characteristic coding, which can always be found at the end of the MBR sector. If this
information is missing, the master boot sector won’t be identified, and the boot process will be aborted with
an error message.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
Digital Guide
(https://www.ionos.com/digitalguide/)
(https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Schaubilder/graphical-representation-of-how-a-
master-boot-record-is-structured.png)
Structure and components of the master boot record
MBR activities require a trigger – provided by the BIOS (Basic Input/Output System) after switching on the PC.
The BIOS is special software which is also known as firmware. It is found on the mainboard of PCs with x86
architecture, where it is embedded in a special chip (e.g. EPROM chip, Flash storage). The BIOS is a
permanently fixed component, even when the computer is switched off.
The BIOS itself does not need exact information about the partitioning of a disk. It is only intended to load
and execute the MBR bootloader in the memory. Once the master boot sector has been read and its
bootloader is active in the working memory, the active (bootable) partition of a divided hard drive is
determined via the partition table.
After it is located, a chain reaction takes place according to the principle of chain loading. The identified boot
sector of the addressed partition is engaged, and the partition’s own bootloader takes over control in the
working memory. More extensive processes and routines follow which execute the actual start of the
operating system. Since the partition’s own bootloader handles more complex tasks, it is usually larger than
the MBR start program.
If a computer has multiple operating systems, the boot process will stop prematurely until the user makes a
choice (e.g. between Windows 7 and Windows 10). These special boot managers generally work in a time-
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
based manner. If a manual entry is not provided, the preferred operating system will be automatically
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
launched after a certain time limit.
Damaged MBR – what action isDigital
required?
Guide
If a x86 PC suddenly no longer starts up, the problem could be a faulty master boot sector. For instance, the
(https://www.ionos.com/digitalguide/)
BIOS may no longer be able to read the two bytes of the MBR signature. To remedy the situation, there are
various troubleshooting strategies which primarily depend on the installed operating system. Windows users
now generally have two options:
Automatic system repair with an emergency medium (CD, DVD, USB stick)
Manual repair via the command prompt
Using the automatic method, the primary boot medium first needs to be changed in the BIOS. Otherwise, the
start routine will always stop when it looks for an intact MBR on the active partition of the built-in hard drive
– to no avail. If, for example, the computer is booted by a Windows 7 DVD after modifying the BIOS,
“Computer repair options” can be selected after a few preceding steps. After a number of further steps, you
will then access the system repair which automatically restores the MBR.
In the case of the manual method, the master boot record has to be repaired with the command line tool
provided by the Windows command prompt (cmd.exe). Repair processes can then be initiated with standard
commands (bootrec/fixmbr, bootrec/fixboot). How you can access the command prompt depends largely on
the operating system installed (https://www.ionos.com/digitalguide/server/configuration/windows-wont-
boot/). Moreover, the process required depends on whether Windows is starting up or is no longer activated
at all.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
A defective master boot sector is not the only reason forGuide
Digital repairs. A boot virus which infects the boot sector
and becomes active during booting can also make such steps necessary. If possible, MBR repairs should only
be performed by experienced users (https://www.ionos.com/digitalguide/)
due to the risk of data loss. You should, therefore, have a backup of the
system and important user data. If the recovery of the MBR partition does not result in the desired outcome
or if it stops prematurely, the hardware may be irreparably damaged.
In practice, however, these limits are partially offset with some tricks and workarounds. For example, the
boot sector can be modified, and an extended partition set up, which in turn can be divided into smaller
logical partitions. However, these little tricks represent makeshift solutions that can hardly keep pace with
the current development of computer technology.
Current systems are increasingly replacing MBR with modern hard drive partitioning in GPT format
(https://www.ionos.com/digitalguide/server/configuration/what-is-a-guid-partition-table-gpt/). GPT excels
with improved data security and it can handle larger hard drives and many partitions. GPT-formatted disks
work closely with firmware interfaces that have been established for some time as a successor to BIOS. For
instance, from Windows Vista Service Pack 1 (64-bit x86 version) it is possible to start using unified extensible
firmware (https://www.ionos.com/digitalguide/server/know-how/uefi-unified-extensible-firmware-interface/)
(UEFI). The newer boot technology is a kind of “miniature operating system” that supports 64-bit processors
natively from the factory.
Tip
Do you want to delve deeper into the topic? Find out more about the differences between MBR and
GPT (https://www.ionos.com/digitalguide/server/configuration/mbr-vs-gpt/) in our in-depth article.
The MBR has become less important recently due to more flexible and higher-performance alternatives.
Wherever a master boot sector is still used for booting, it’s usually to start computers with old hardware.
What’s more, MBR technology is especially prevalent in the world of Windows for compatibility reasons.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
11/22/2022 | Configuration (https://www.ionos.com/digitalguide/server/configuration/)
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
g
talg tps:/ gitalgom/d
Digital Guide
Windows (https://www.ionos.com/digitalguide/tags/windows/)
(https://www.ionos.com/digitalguide/)
Related articles
Every Windows user knows: No matter which version you use, the popular Microsoft operating
system has its bad days. Sometimes these are so serious that the worst possible outcome happens:
Windows won't boot anymore. You might think there’s nothing you can do, but don't panic: Boot
problems and bluescreens can be solved quickly in most cases.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
Digital Guide
(https://www.ionos.com/digitalguide/)
Like all modern Microsoft operating systems, Windows 10 has a built-in feature that allows you to
automatically run system programs, user-defined programs, service applications and processes. In
this tutorial, you’ll learn how the startup folder works in Windows 10 and how to add or remove
specific applications.
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
services, you agree to their use. More Information. (https://www.ionos.com/cookies)
How to fix a Blue Screen of Digital
Death (BSOD)
Guide
06/22/2022 | Know-how
(https://www.ionos.com/digitalguide/)
The infamous blue screen of death usually shows up without any warning. It’s an important
indicator of internal problems with hardware, software, or drivers. If Windows can no longer be run
as a result of such a problem, then the forced shutdown takes place in the form of a blue screen
containing an error message. This may cause unsaved files and documents to be lost. The most
important thing with…
Related Products
Cloud Servers
See packages
View packages
(https://ias.ionos.com/ias/follow/CLICK?
ias_source=DIGITAL_GUIDE-
US&ias_medium=digital-
guide/server/configuration/what-
is-mbr/US-
dg_sidebar&ias_content=DIGITALGUIDE_
DEFAULT&ias_campaign=&iasSessionId=
33d9-4f57-9834-
Popular Articles
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or
services, you agree to their use. More Information. (https://www.ionos.com/cookies)