Install efibootmgr in UEFI systems
This commit is contained in:
parent
8bf20f8fe2
commit
85b5b4cd3d
|
@ -262,7 +262,8 @@ set_locale() {
|
||||||
setup_grub() {
|
setup_grub() {
|
||||||
echo -n "Configuring boot loader..."
|
echo -n "Configuring boot loader..."
|
||||||
if [ $UEFI -eq 1 ]; then
|
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
|
else
|
||||||
quiet right_chroot /mnt grub-install --target=i386-pc "$DRIVE_TARGET"
|
quiet right_chroot /mnt grub-install --target=i386-pc "$DRIVE_TARGET"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue