From e9c2ba95b396d41955b8d8b6f90d973127521b03 Mon Sep 17 00:00:00 2001 From: Randall Date: Mon, 5 Sep 2022 15:05:51 -0400 Subject: [PATCH] Manually specify EFI directory --- chrootInstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index 9dc6a81..4b40112 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -28,7 +28,7 @@ rc-update add NetworkManager # bootloader installation and configuration pacman -S grub efibootmgr os-prober mtools dosfstools --noconfirm if [ "$boot" == 1 ]; then - grub-install --target=x86_64-efi --bootloader-id=GRUB-rwinkhart --recheck + grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB-rwinkhart --recheck fi if [ "$boot" == 2 ]; then grub-install --target=i386-pc "$disk"