aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-17 16:20:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-17 16:20:10 +0100
commitef8c9bba6c65db9141ef2cbb033d2e6632632ec4 (patch)
tree69fcb96cd00bc83b359ef11440c98024c55fe5f5 /joes-arch-install-UEFI.sh
parentMaybe better grub-install parametters (diff)
downloadarch-installer-ef8c9bba6c65db9141ef2cbb033d2e6632632ec4.tar.gz
arch-installer-ef8c9bba6c65db9141ef2cbb033d2e6632632ec4.tar.bz2
arch-installer-ef8c9bba6c65db9141ef2cbb033d2e6632632ec4.tar.xz
arch-installer-ef8c9bba6c65db9141ef2cbb033d2e6632632ec4.tar.zst
arch-installer-ef8c9bba6c65db9141ef2cbb033d2e6632632ec4.zip
GRUB mysticism
Diffstat (limited to 'joes-arch-install-UEFI.sh')
-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