From 7aff03901bf6ceb213949a6ec1314edf0456c892 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Fri, 25 Feb 2022 09:55:01 -0600 Subject: [PATCH] efi server fix Fixed UEFI installs for server install --- scripts/0-preinstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index bea7ba7..b289307 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -162,6 +162,8 @@ echo -ne " " if [[ ! -d "/sys/firmware/efi" ]]; then grub-install --boot-directory=/mnt/boot ${DISK} +else + pacstrap /mnt efibootmgr --noconfirm --needed fi echo -ne " -------------------------------------------------------------------------