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

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

View File

@ -15,7 +15,3 @@ 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"
改为--add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash overlayfs overlay-root" 改为--add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash overlayfs overlay-root"
注意:在lfs最新稳定版中由于udev可能存在的一些问题
导致libkmod未能正确包含在initramfs中
加入参数-I "/usr/lib/libkmod.so"来解决问题