bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing a bootable image on-the-fly


From: Tom Lisjac
Subject: Writing a bootable image on-the-fly
Date: Wed, 31 Aug 2022 03:35:01 -0400 (EDT)


Finally got this set of commands to generate a bootable hybrid image, but would like to write it directly to the drive instead of a file, if possible:

xorrisofs -o /tmp/output.iso -iso-level 3 -full-iso9660-filenames -volid "TESTVOL1" \
             -c boot/isolinux/boot.cat \
             -b boot/isolinux/isolinux.bin \
             -no-emul-boot -boot-load-size 4 -boot-info-table \
             -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \
             -partition_offset 16 "/tmp/test/boot" \
             -eltorito-alt-boot -e EFI/BOOT/efiboot.img -isohybrid-gpt-basdat \
             -graft-points /data="" code=/tmp/code

Replacing -o /tmp/output.iso with -outdev /dev/sr0 produces a genisoimage related error and -o /dev/sr0 writes the data to the console. Tried breaking the command line with -- -outdev /dev/sr0 but that made another mess.

Any suggestions would be greatly appreciated.

Thanks,

-Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]