Linux系統和核心初始化過程簡介

來源:互聯網
上載者:User

全部引導過程是四步

1:boot PROM phase

2:boot Programs phase

3:kernel initialization phase

4:init phase

system初始化,檢測記憶體和cpu,檢查裝置和建立裝置樹,設定console

kernel初始化過程

kernel self -initialization 核心自檢

loading of kernel modules 載入核心模組

reading of the kernel configuration file in /etc/system 讀核心設定檔

staring of the /sbin/init process 運行/sbin/init進程

bootblk是用於裝載第二個引導程式ufsboot的主引導程式

bootblk是被PROM的boot裝置的開機磁區裝載的

ufsboot程式是用了裝載兩部分核心genunix和unix的

installboot是用來在磁碟分割上安裝bootblk的

genunix is the platform-independent generic kernel file ,while unix is the platform-specific kernel component.

整個的引導過程:

PROM from the boot sector of the boot device-->bookblk-->ufsboot-->genunix(是一個獨立平台的普通核心檔案) and unix(是一個特殊平台核心檔案)-->其它

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.