Linux內核初始化過(guò)程簡(jiǎn)要介紹
1:boot PROM phase
2:boot Programs phase
3:kernel initialization phase
4:init phase
system初始化,檢測內存和cpu,檢查設備和創(chuàng )建設備樹(shù),設置console
kernel初始化過(guò)程
kernel self -initialization 內核自檢
loading of kernel modules 載入內核模塊
reading of the kernel configuration file in /etc/system 讀內核配置文件
staring of the /sbin/init process 運行/sbin/init進(jìn)程
bootblk是用于裝載第二個(gè)引導程序ufsboot的主引導程序
bootblk是被PROM的boot設備的引導扇區裝載的
ufsboot程序是用了裝載兩部分核心genunix和unix的
installboot是用來(lái)在磁盤(pán)分區上安裝bootblk的
genunix is the platform-independent generic kernel file ,while unix is the platform-specific kernel component.
整個(gè)的引導過(guò)程:
PROM from the boot sector of the boot device-->bookblk-->ufsboot-->genunix(是一個(gè)獨立平臺的普通內核文件) and unix(是一個(gè)特殊平臺內核文件)-->其它
評論