Abstract
- When the power is switched on, BIOS is executed first, followed by Boot Device, lastly Kernel Booting
BIOS
-
The first program that starts when booting up a computer
- Checks Main Memory capacity
- Check IO Device
- Scanning PCI Bus etc to detect all devices attached
- Determine the Boot Device by trying out a list of devices stored in the CMOS
- The Boot loader inside the boot device will carry out the next step
-
Contains low-level IO software
-
Nowadays, stored in Flash RAM - nonvolatile & can be updated
-
The newer standard is called UEFI
Boot Device
- Storage device that contains Master Boot Record and the OS
- Master Boot Record is read into Main Memory to start the Boot Loader
Boot loader
- Examines the partition table at the end of boot sector to determine which partition is active. Providing a menu for user to select which OS to boot
- Loads in the Kernel into the Main Memory
- Kernel Booting will finish up on the booting of the OS
- Common boot loaders are Grub2
References
- How Does Linux Boot Process Work?