rename 教程/03-生成initramfs.txt to 教程/03-生成initramfs.txta.

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

View File

@ -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版都受到影响