During the boot of the kernel, the initial-RAM disk (initrd) that was loaded into memory by the stage 2 boot loader is copied into RAM and mounted.
內核然後會將這個initrd 文件作爲其兩階段引導過程的一部分來加載模塊,這樣才能稍後使用真正的文件系統,並掛載實際的根文件系統。
由於與*設備進行交互所需要的模塊可能是initrd的一部分,因此內核可以非常小,但是仍然需要支持大量可能的硬件配置。
在內核引導過程中,初始RAM磁盤(initrd)是由階段2引導加載程序加載到內存中的,它會被複制到RAM 中並掛載到系統上。
當調用內核時,它會自解壓到高端內存中,並拷貝initrd以供稍後安裝和使用。
Since the necessary modules needed to interface with peripherals can be part of the initrd, the kernel can be very small, but still support a large number of possible hardware configurations.