From ef8c9bba6c65db9141ef2cbb033d2e6632632ec4 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 17 Nov 2019 16:20:10 +0100 Subject: GRUB mysticism --- joes-arch-install-UEFI.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3