From eca46a8a8af166a89a95903ae7cae492af8dc3ce Mon Sep 17 00:00:00 2001 From: 0xAX Date: Tue, 10 Feb 2015 22:56:59 +0600 Subject: [PATCH] Update linux-bootstrap-1.md --- Booting/linux-bootstrap-1.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Booting/linux-bootstrap-1.md b/Booting/linux-bootstrap-1.md index b01ce79..cc18dd3 100644 --- a/Booting/linux-bootstrap-1.md +++ b/Booting/linux-bootstrap-1.md @@ -100,6 +100,9 @@ SECTIONS { Now the BIOS has started to work. After initializing and checking the hardware, it needs to find a bootable device. A boot order is stored in the BIOS configuration, controlling which devices the kernel attempts to boot. In the case of attempting to boot a hard drive, the BIOS tries to find a boot sector. On hard drives partitioned with an MBR partition layout, the boot sector is stored in the first 446 bytes of the first sector (512 bytes). The final two bytes of the first sector contain `0x55` and `0xaa` which signals the BIOS that the device as bootable. For example: ```assembly +# +# Note: this example written with Intel syntax +# [BITS 16] [ORG 0x7c00]