diff options
Diffstat (limited to 'bin/install_bootloader.sh')
-rw-r--r-- | bin/install_bootloader.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/install_bootloader.sh b/bin/install_bootloader.sh index 2f19ca3..7967a54 100644 --- a/bin/install_bootloader.sh +++ b/bin/install_bootloader.sh @@ -26,14 +26,11 @@ # Install Grub pacman --noconfirm -Syu grub efibootmgr -mount $1 /mnt # $1 = boot_partition_path -grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=GRUB --removable +mount $1 /mnt +grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=GRUB \ +--removable grub-mkconfig -o /boot/grub/grub.cfg umount $1 echo "Grub bootloader installed - OK" echo "" sleep 1 - -echo "Leaving chroot environment - OK" -echo "" -sleep 1 |