Skip to content

Instantly share code, notes, and snippets.

@wicstas
wicstas / make-iso.sh
Last active December 6, 2025 03:59
Minimal command to make an iso that can be written to both CD and USB and bootable from BIOS/UEFI.
xorriso -as mkisofs -rJl -V "MY_LABEL" \
-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \
-eltorito-alt-boot --no-emul-boot -e EFI/boot/efiboot.img --isohybrid-gpt-basdat \-o my-iso.iso ISO/