1. Load the BIOS hardware information, and obtain the first boot device code;
2. Read the boot Loader of the MBR of the first boot device (i.e. Lilo, GRUB, etc.);
3. Load Kernel operating system core information, Kernel start decompression, and try to drive all hardware devices;
4. Kernel executes the init procedure and obtains run-level information;
5. Init executes the/etc/rc.d/rc.sysinit file;
6. Launch the core plug-in module (/etc/modprobe.conf);
7. init executes each batch file of Run-level (Scripts);
8. Init executes the/etc/rc.d/rc.local file;
9. Execute the/bin/login procedure and wait for the user to log in;
10. After logging in, start with the Shell control console.
The following is a simplified version of the boot sequence, to facilitate the classmate memory
1) BIOS initialization
2) performing MBR
3) grub:a, load the kernel in read-only mode (kernel); b. Load RAMDisk, or initrd-2.6.18-53.el5.img file
4) Init process, the files that are running are:
A./etc/inittab
B./etc/rc.d/rc.sysinit
All script files under c./etc/rc.d/rcx.d/
D./etc/rc.d/rc.local
5) Login
Linux Boot execution sequence