Firmware firmware (Cmos/bios) #POST加电自检
|
|
Bootloader bootloader (GRUB) #载入内核/boot/grub/grub.conf
|
|
Load Kernel Kernel # Drive hardware
|
|
Start process init (PID constant is 1,pid to 0 for kernel Scheduler kernel Scheduler)
|
|
Read execution configuration file/etc/inittab
|
|
Judging RunLevel (Initdefault)
|
Read the configuration file (/etc/rc.d/rc.sysinit) #系统的基本服务的加载
|
Then execute the/ETC/RC.D/RC #来判断运行级别对应的配置文件
|
Run the secondary directory to the level of/ETC/RC.D/RCN.D n=0~6
|
Verify user name, password
/etc/inittab si:sysinit:/etc/rc.d/rc.sysinit Regardless of the level of execution of the program configuration.
/etc/rc.d/rc.sysinit, is to start the script file, complete the system service program startup, such as: System environment variable settings, set the system clock, load fonts, check the loading file system, generate system boot log files and so on.
/ETC/RC.D/RCN. D manages the runlevel and initializes the configuration of the launcher.
Run different configurations according to RunLevel, run Level 3, call configuration information under the RC3.D directory ;
The RC 0/1/2/3/4/5/6.D directory has:For exampleS syslog, K theDundWait, all is/etc/init.d/... A soft connection
which
Capital S means: Start program
Uppercase K: programs that are closed or not started
Digital representation: the sequential start.
(The lowercase system is not recognized.) )
This article from the "90 Design Studio" blog, reproduced please contact the author!
Linux boot process diagram