From 85b5b4cd3de75b926c455f53e712543f083527c6 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 13 Aug 2021 11:19:57 -0300 Subject: [PATCH] Install efibootmgr in UEFI systems --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1cbc945..7743d37 100755 --- a/install.sh +++ b/install.sh @@ -262,7 +262,8 @@ set_locale() { setup_grub() { echo -n "Configuring boot loader..." if [ $UEFI -eq 1 ]; then - quiet right_chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub + quiet right_basestrap /mnt efibootmgr + quiet right_chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB else quiet right_chroot /mnt grub-install --target=i386-pc "$DRIVE_TARGET" fi