Bootable Partition and Root File System

Bootable partition 是含有可啟動 OS 的 partition / volume;root file system 是 kernel 起來後最先 mount 到 / 的 namespace 起點。整體 boot flow 可對照 D-OS-Ch11fb-System_Boot_Process

Bootable partition

它不只需要 kernel file,也需要 boot information。Boot 初期還沒有完整 kernel 與 file-system drivers,所以 firmware / early boot code 必須能用簡單、固定的 boot area 或 boot loader 讀到 kernel。

Boot loader 通常負責:被 firmware 載入、理解必要 file-system / image format、找到 kernel、載入 memory、跳到 kernel entry point。

Root file system

Kernel 開始執行後 mount root partition 到 /,再從 root file system 找 system programs、configuration、libraries,以及其他 volumes 的 mount 設定。若 root metadata corrupted,系統可能無法 boot,或需進 repair / single-user mode。

Limitation

不是每種 file system 都能當 root:boot loader 必須支援該 format。Dual boot 也因此依賴 boot loader 是否能理解多個 formats 或 chain-load 其他 boot loaders。