update 教程/03-生成initramfs.txt.

Signed-off-by: liushuncheng <2930054131@qq.com>
This commit is contained in:
liushuncheng 2025-01-16 16:22:09 +00:00 committed by Gitee
parent 94f7ae30e2
commit db9c7ae7dc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -16,7 +16,6 @@ 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最新稳定版中由于systemd-udevd可能存在的一些问题,
注意:在lfs最新稳定版中由于udev可能存在的一些问题
导致libkmod未能正确包含在initramfs中
加入参数-I "/usr/lib/libkmod.so"来解决问题
sysv版和systemd版都受到影响
加入参数-I "/usr/lib/libkmod.so"来解决问题