内核中有定时窗口,这意味着内核经常在其能够被正确的监测和初始化之前尝试安装根设备。
There is a timing window within the kernel, which means that often, the kernel will proceed to try to mount the root device before it has had a chance to be properly detected or initialized.
内核引导、安装根文件系统,并通过调用初始化脚本(通常是 /sbin/init)继续进行初始化。
The kernel boots, mounts the root filesystem, and continues initialization by calling the initialization scripts (usually /sbin/init)
清单6展示了如何使用blkid来寻找根分区的标签和UUID,如何创建两个附加挂载点,以及在这两个附加挂载点上安装根分区。
Listing 6 shows how to use blkid to find the label and UUID for our root partition and then how to create two additional mount points and mount the root partition at these two additional points.
应用推荐