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

View File

@ -14,4 +14,6 @@ dracut --add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash" \
注意你的内核必须支持zstd压缩的initramfs
有问题的话--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 12.2中由于systemd-udevd可能存在的一些问题导致libkmod.so未能正确包含在initramfs中 加入参数-I "/usr/lib/libkmod.so"来解决模块无法自动加载的问题sysv版和systemd版都受到影响