aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
Diffstat (limited to 'joes-arch-install-UEFI.sh')
-rwxr-xr-xjoes-arch-install-UEFI.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 835c4ba..f7998bc 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -675,8 +675,9 @@ arch-chroot /mnt/arch << ARCH_CHROOT
# #
#=================================#
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --recheck
+ mkdir -p /boot/grub
grub-mkconfig -o /boot/grub/grub.cfg
- mkdir /boot/efi/EFI/BOOT
+ mkdir -p /boot/efi/EFI/BOOT
cp /boot/efi/EFI/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