update 教程/3.生成initramfs.

Signed-off-by: liushuncheng <2930054131@qq.com>
This commit is contained in:
liushuncheng 2024-08-11 10:18:29 +00:00 committed by Gitee
parent c6afb0eabe
commit d465600135
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,4 +11,7 @@ dracut --add "dm dmsquash-live dmsquash-live-autooverlay kernel-modules bash" \
--zstd --no-hostonly --no-hostonly-cmdline --no-hostonly-i18n --force \
--kver 你的内核版本
注意你的内核必须支持zstd压缩的initramfs
注意你的内核必须支持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"