I. Hardware boot boot
1. Power on
2. BIOS(Initialize hardware to find boot media)
3. MBR Total 512bytes
MBR contains:
1.446bytes:bootloader (GRUB)
2.64bytes:partition (partition Table)
3.2bytes:magic Number (checksum)
Two. Grub Boot boot
1. cat/boot/grub/grub.conf (view configuration file)
2. ls-l etc/grub/conf(usually view linked files)
3. Kernel (hd0,0) boot options
4. Stage1 in MBR stage2 stage1_5 link in disk
5. Stage2 (Kernel)
Stage1→stage1_5→stage2→grub.conf
Three. Kernel boot
1. /boot/kernel and kernel parameter
2. initrd
Four. Sys V init initialization phase
1. /sbin/init (/etc/inittab
2. /etc/rc.sysinit
3. /ETC/RC.D/RC (x). d/)
4. /sbin/mingetty (/etc/login)
Note:
chkconfig–list View System Load service
/etc/rc.d/rc.sysinit Initialize
/ETC/RC.D/RCX.D Run Level
/erc/rc.d/rc.loacl can be put into the start command tty1~6 Total 6 Plus graphical interface total of 7 terminals
Attach a picture for easy understanding:
This article from "Samoyed Sadness" blog, reproduced please contact the author!
Linux Start-up process