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 " -------------------------------------------------------------------------