Force grub-install to complete with blocklists
Needed when running in BIOS (vs UEFI) mode.
This commit is contained in:
parent
2dae04ab2a
commit
ebdd8bf1d0
|
@ -396,7 +396,7 @@ if [[ -d /sys/firmware/efi ]]; then
|
||||||
else
|
else
|
||||||
bios_target="i386-pc"
|
bios_target="i386-pc"
|
||||||
fi
|
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
|
chroot ${target} grub-mkconfig -o /boot/grub/grub.cfg >&2
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue