= '''Linux 開機流程''' = [[Image(boot_process.jpg)]] 來源:[http://linux.vbird.org/linux_basic/0510osloader.php#startup 鳥哥的 Linux 私房菜] [[Image(boot_process2.png)]] 來源:Booting Linux: The History and the Future, Werner Almesberger == 1 Introduction == 在開機程序中包兩個部份: * 將 Linux kernel 載入記憶體中並將控制權傳給它 * 初始化作業環境 == 1.1 Load the kernel == 在 Boot loader 的第一階段,它會從外部的儲存媒體(storage media)(如硬碟)或是外部的資源(如網路上的 boot server ),取得 kernel 及額外的資料,並且將它們載入正確的記憶位置,接著開始啟動 kernel 。 == 1.2 Up and running == 當 kernel 開始執行的時候,它會初使化內部的資料結構、偵測硬體並驅動個別的驅動程式,直到它準備好執行 user-space 的程式。在它可以啟動 user-space 環境之前,它需要一個 file system ,所以它必需先掛載 root file system 。 為了要掛載 root file system , kernel 需要以下二項條件: * 出處:Booting Linux: The History and the Future, Werner Almesberger