From 1ce4c3c791b8e24eb2b882d1de098e5080bb0879 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:00 -0400 Subject: [PATCH] Fix efivars mount --- templates/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/install.sh b/templates/install.sh index 6c0ba72..411a5c7 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -1113,8 +1113,10 @@ GRUB_TERMINAL_INPUT="console serial" GRUB_TERMINAL_OUTPUT="gfxterm serial" GRUB_SERIAL_COMMAND="serial --unit=0 --unit=1 --speed=115200" EOF +mount --bind /sys/firmware/efi/efivars ${target}/sys/firmware/efi/efivars chroot ${target} grub-install --force --target=${bios_target} ${target_disk} >&2 chroot ${target} grub-mkconfig -o /boot/grub/grub.cfg >&2 +umount ${target}/sys/firmware/efi/efivars echo "done." echo -n "Adding module blacklists... "