From cbb324cbdce5619feed65a5ce93832c35206d7a6 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 5 Aug 2024 13:39:29 -0400 Subject: [PATCH] Add initramfs to crypttab --- gentoo-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index b6fbe8a..7527bac 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -277,7 +277,7 @@ function stage_step() { ${cmd} mkdir /mnt/gentoo/etc/dracut.d if [[ "$DEBUG" ]]; then - echo "echo \"luksvol UUID=\"$luksUUID\" none luks\" >> /mnt/gentoo/etc/crypttab" + echo "echo \"luksvol UUID=\"$luksUUID\" none luks,initramfs\" >> /mnt/gentoo/etc/crypttab" if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then echo "mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null" echo "echo \"add_dracutmodules+=\\\" crypt dm rootfs-block \\\" > /mnt/gentoo/etc/dracut.conf.d/luks.conf"