diff --git a/教程/03-生成initramfs.txt b/教程/03-生成initramfs.txta similarity index 77% rename from 教程/03-生成initramfs.txt rename to 教程/03-生成initramfs.txta index 6c1fbbf..322e56a 100644 --- a/教程/03-生成initramfs.txt +++ b/教程/03-生成initramfs.txta @@ -15,3 +15,4 @@ dracut --add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash" \ 有问题的话--add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash" 改为--add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash overlayfs overlay-root" +注意:在lfs 12.2中,由于systemd-udevd可能存在的一些问题,导致libkmod.so未能正确包含在initramfs中 加入参数-I "/usr/lib/libkmod.so"来解决模块无法自动加载的问题,sysv版和systemd版都受到影响 \ No newline at end of file