From d4656001353a6dc7d0465a3258adc1aeb39b34e2 Mon Sep 17 00:00:00 2001 From: liushuncheng <2930054131@qq.com> Date: Sun, 11 Aug 2024 10:18:29 +0000 Subject: [PATCH] =?UTF-8?q?update=20=E6=95=99=E7=A8=8B/3.=E7=94=9F?= =?UTF-8?q?=E6=88=90initramfs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liushuncheng <2930054131@qq.com> --- 教程/3.生成initramfs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/教程/3.生成initramfs b/教程/3.生成initramfs index 6f401a5..4621e54 100644 --- a/教程/3.生成initramfs +++ b/教程/3.生成initramfs @@ -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 \ No newline at end of file +注意你的内核必须支持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" \ No newline at end of file