commit: 5f91f18939b076949bffbfbacd921efc07109c1c
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 7 11:05:55 2024 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Jun 7 11:07:23 2024 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5f91f189
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 <AT> gentoo.org>
targets/support/create-iso.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 $?