Linux Boot Process
Linux Boot Process
Ali MEZGANI
[email protected]
1 / 14
Summary
2 / 14
Boot process
3 / 14
BIOS
4 / 14
BIOS
5 / 14
Master Boot Record (MBR)
BIOS load and execute the first 512 bytes of the disk
(sector 0), and returns control to MBR
Standard DOS MBR will look for a primary partition
(/dev/hda1..4) marked bootable
Load and execute first 512 bytes of this partition
Can be restored with fdisk /mbr from DOS
Load the boot loader (lilo, grub ...)
6 / 14
Boot loader
7 / 14
Kernel
8 / 14
Init
9 / 14
Run levels
0 halt
1 single user
2 full Multi-User mode (default)
3-5 same as 2
6 reboot
10 / 14
Run level programs
11 / 14
Run level programs
12 / 14
Additional Resources
http://www.debianadmin.com/the-lniux-boot-process-explained.html
http://www.ibm.com/developerworks/linux/library/l-linuxboot/
http://duartes.org/gustavo/blog/post/how-computers-boot-up
http://www.pixelbeat.org/docs/disk/
13 / 14
Colophon
14 / 14