aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjoes-arch-install-UEFI.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index aa0af9b..9c00b12 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -655,8 +655,12 @@ arch-chroot /mnt/arch << ARCH_CHROOT
# 2. Configuring GRUB #
# #
#=================================#
- grub-install --target=x86_64-efi --bootloader-id=arch_grub --efi-directory=/boot/efi --recheck
+ grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --recheck
grub-mkconfig -o /boot/grub/grub.cfg
+ mkdir /boot/efi/EFI/BOOT
+ cp /boot/efi/EFI/arch_grub/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
+ echo "bcf boot add 1 fs0:\EFI\GRUB\grubx64.efi \"GRUB bootloader\"" > /boot/efi/startup.nsh
+ echo "exit" >> /boot/efi/startup.nsh
sleep 4
exit
ARCH_CHROOT