fix: restore -partition_offset 16 to xorriso for USB boot compatibility
The old Debian Live ISO used -partition_offset 16 which reserves space for a GPT partition table in the hybrid MBR layout. UEFI firmware on some machines requires this to recognize the USB as bootable. We removed it thinking it was Debian Live-specific but it's actually an xorriso hybrid boot requirement. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6eb6f8b27d
commit
a12e97ca72
@ -2602,6 +2602,7 @@ if [ ! -f "$EFI_IMG" ]; then
|
|||||||
-c isolinux/boot.cat \
|
-c isolinux/boot.cat \
|
||||||
-b isolinux/isolinux.bin \
|
-b isolinux/isolinux.bin \
|
||||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||||
|
-partition_offset 16 \
|
||||||
"$INSTALLER_ISO"
|
"$INSTALLER_ISO"
|
||||||
else
|
else
|
||||||
xorriso -as mkisofs -o "$OUTPUT_ISO" \
|
xorriso -as mkisofs -o "$OUTPUT_ISO" \
|
||||||
@ -2616,6 +2617,7 @@ else
|
|||||||
-e boot/grub/efi.img \
|
-e boot/grub/efi.img \
|
||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-isohybrid-gpt-basdat \
|
-isohybrid-gpt-basdat \
|
||||||
|
-partition_offset 16 \
|
||||||
"$INSTALLER_ISO"
|
"$INSTALLER_ISO"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user