Force grub-install to complete with blocklists

Needed when running in BIOS (vs UEFI) mode.
This commit is contained in:
Joshua Boniface 2020-08-17 12:22:42 -04:00
parent 91a2cdf4b6
commit 04edea698a
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."