Force grub-install to complete with blocklists

Needed when running in BIOS (vs UEFI) mode.
This commit is contained in:
Joshua Boniface 2023-09-01 15:41:55 -04:00
parent 2dae04ab2a
commit ebdd8bf1d0
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ if [[ -d /sys/firmware/efi ]]; then
else
bios_target="i386-pc"
fi
chroot ${target} grub-install --target=${bios_target} ${target_disk} >&2
chroot ${target} grub-install --force --target=${bios_target} ${target_disk} >&2
chroot ${target} grub-mkconfig -o /boot/grub/grub.cfg >&2
echo "done."