[syslinux] xorriso or genisoimage syntax assistance

Mattias Schlenker ms at mattiasschlenker.de
Sun Feb 2 04:27:10 PST 2014


Am 01.02.2014 22:34, schrieb Dean Graff:
> Could someone help me get the syntax for `genisoimage' and/or `xorriso'
> correct? Apparently it is not in many linux distros so below my little
> HOWTO shows how to compile it. ( which adds tons of crap that can go wrong)


Build a recent xorriso - this can be run from the build directory 
without installing (thanks, Thomas!):

./configure --enable-static

Taken from a build yesterday:

/usr/compat.static/bin/xorriso -as mkisofs  -joliet -graft-points -c 
boot/isolinux/boot.cat  -b boot/isolinux/isolinux.bin -no-emul-boot 
-boot-info-table -boot-load-size 4  -isohybrid-mbr 
/usr/share/syslinux/isohdpfx.bin --modification-date=2014020113222000 -V 
XPMOVER -o xpmover-erebos-20140201-132220.iso  -r cdmaster --sort-weight 
0 / --sort-weight 1 /boot --sort-weight 3 /boot/kernel --sort-weight 5 
/boot/isolinux --sort-weight 6 /boot/isolinux/isolinux.bin

This is WITHOUT an efi.img UEFI boot image. Isohybrid with an UEFI boot 
image is three more switches:

... -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin -eltorito-alt-boot 
-e boot/efi/efi.img -no-emul-boot -isohybrid-gpt-basdat ...

Of course the modification date is not necessary (but a nice trick for 
live distributions to find their drive without mounting just by using 
blkid). The sort weighting slightly speeds up boot times (and works 
around a bug found in syslinux up to 6.02 - or many BIOS 
implementations, depends on your perspective)

Regards,
Mattias

-- 
Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte
August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY

Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer
+49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann!



More information about the Syslinux mailing list