Master Boot Record

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Add infobox)
Line 4: Line 4:
 
}}
 
}}
  
: '''Master Boot Record'''
+
The '''Master Boot Record''' is the first sector of a [[wikipedia:IBM PC compatible|PC]] disk. It contains the first stage of the boot loader and a partition table. A valid MBR ends with the byte sequence {{magic|55 aa}}.
=Introduction=
+
 
A Master Boot Record is necessary to boot an [[Operating Systems|operating system]] on a [[PC]]. In most cases it is located at cylinder 0, head 0, sector 1 of the first hard drive. It contains executable code, error messages and a partition table.
+
During booting the PC [[BIOS]] loads the MBR at linear address 0x7c00 and passes control to it (at real mode address 0000:7c00, or sometimes 07c0:0000). The MBR code is responsible for loading the rest of the boot loader, which then loads the operating system.
=Resources=
+
 
[http://thestarman.narod.ru/asm/mbr/STDMBR.htm An Examination of the Standard MBR (Master Boot Record)]
+
== Resources ==
 +
* [[wikipedia:Master boot record|Master boot record]]
 +
* [http://thestarman.narod.ru/asm/mbr/STDMBR.htm An Examination of the Standard MBR (Master Boot Record)]
 +
 
 
[[category:Filesystem]] [[category:Operating Systems]] [[Category:File format details]]
 
[[category:Filesystem]] [[category:Operating Systems]] [[Category:File format details]]

Revision as of 21:40, 14 March 2015

File Format
Name Master Boot Record
Ontology

The Master Boot Record is the first sector of a PC disk. It contains the first stage of the boot loader and a partition table. A valid MBR ends with the byte sequence 55 aa.

During booting the PC BIOS loads the MBR at linear address 0x7c00 and passes control to it (at real mode address 0000:7c00, or sometimes 07c0:0000). The MBR code is responsible for loading the rest of the boot loader, which then loads the operating system.

Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox