Boot Sequence: Difference between revisions
Jump to navigation
Jump to search
Byte indexing starts from 0
[unchecked revision] | [unchecked revision] |
Glauxosdever (talk | contribs) (Rephrase) |
Glauxosdever (talk | contribs) (Byte indexing starts from 0) |
||
Line 5:
== Master Boot Record ==
The (legacy) BIOS checks bootable devices for a boot signature, a so called magic number. The boot signature is in a boot sector (sector number 0) and it contains the byte sequence 0x55, 0xAA in bytes
Execution is then transferred to the freshly loaded boot record. On a floppy disk, all 512 bytes of the boot record may contain executable code. On a hard drive, the [[MBR (x86)|Master Boot Record]] (MBR) holds executable code at offset 0x0000 - 0x01bd, followed by table entries for the four [[Partition Table|primary partitions]], using sixteen bytes per entry (0x01be - 0x01fd), and the two-byte signature (0x01fe - 0x01ff).
|