Master Boot Record

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:Booting)
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Filesystem
 
|subcat=Filesystem
 +
|kaitai struct=mbr_partition_table
 
}}
 
}}
  
 
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}}.
 
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}}.
  
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.
+
During booting the PC [[BIOS]] loads the MBR at linear address 0x7c00 and passes control to it (at real mode address 07c0:0000, or sometimes 0000:7c00). The MBR code is responsible for loading the rest of the boot loader, which then loads the operating system.
  
 
== Resources ==
 
== Resources ==
 
* [[wikipedia:Master boot record|Master boot record]]
 
* [[wikipedia:Master boot record|Master boot record]]
 
* [http://thestarman.narod.ru/asm/mbr/STDMBR.htm An Examination of the Standard MBR (Master Boot Record)]
 
* [http://thestarman.narod.ru/asm/mbr/STDMBR.htm An Examination of the Standard MBR (Master Boot Record)]
 +
* [http://3.bp.blogspot.com/-Dz7HAho4RCg/VS2RqkPFTAI/AAAAAAAAAdU/E8Q4lG08xwU/s1600/MBR101.png MBR format poster]
  
[[category:Filesystem]] [[category:Operating Systems]] [[Category:File format details]]
+
[[category:Filesystem]]
 +
[[category:Operating Systems]]
 +
[[Category:File format details]]
 +
[[Category:Booting]]

Latest revision as of 14:49, 15 August 2017

File Format
Name Master Boot Record
Ontology
Kaitai Struct Spec mbr_partition_table.ksy

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 07c0:0000, or sometimes 0000:7c00). The MBR code is responsible for loading the rest of the boot loader, which then loads the operating system.

[edit] Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox