diff options
author | Ben Kohler <bkohler@gentoo.org> | 2024-06-07 06:05:55 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-06-07 06:07:23 -0500 |
commit | 5f91f18939b076949bffbfbacd921efc07109c1c (patch) | |
tree | 8d7b82d1fe6b91163d4bef69927063f6d0d92edb | |
parent | Fix loongarch -march to baseline (diff) | |
download | catalyst-5f91f18939b076949bffbfbacd921efc07109c1c.tar.gz catalyst-5f91f18939b076949bffbfbacd921efc07109c1c.tar.bz2 catalyst-5f91f18939b076949bffbfbacd921efc07109c1c.zip |
create-iso.sh: add flag for BIOS boot quirk
Some BIOS implementations (or legacy CSM/compat on UEFI) may ignore a
boot device if it doesn't have one MBR partition marked with the boot
flag. This new argument to xorriso will add an extra dummy partition
with that flag. It's been reported to help at least one user boot.
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rwxr-xr-x | targets/support/create-iso.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index 0468f965..aa597a59 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -200,7 +200,7 @@ case ${clst_hostarch} in esac echo ">> Running grub-mkrescue to create iso image...." - grub-mkrescue -volid "${clst_iso_volume_id}" "${extra_opts[@]}" -o "${1}" "${clst_target_path}" + grub-mkrescue --mbr-force-bootable -volid "${clst_iso_volume_id}" "${extra_opts[@]}" -o "${1}" "${clst_target_path}" ;; esac exit $? |