[syslinux] xorriso or genisoimage syntax assistance

Dean Graff graff97 at gmail.com
Sat Feb 1 13:34:35 PST 2014


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)

mkdir -p ISO_root/isolinux
cp /usr/lib/syslinux/[i,m,v]* ISO_root/isolinux
cat > ISO_root/isolinux/isolinux.cfg << EOF
UI menu.c32
label isolinuxtests
EOF
# Most linux distros dont have `mkisofs'
# So...  Download and compile "cdrtools"
wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools-3.00.tar.bz2
tar -xf cdrtools-3.00
make -C cdrtools-3.00 install DESTDIR="$(pwd)/pkg" INS_BASE=""
PATH="${PATH}:$(pwd)/pkg/bin"

mkisofs \
-o output.iso     \
-no-emul-boot     \
-boot-info-table  \
-boot-load-size 4 \
-c isolinux/boot.cat     \
-b isolinux/isolinux.bin \
ISO_root

# And if you wish to make the .iso bootable via USB, then run:
isohybrid output.iso

# Test the .iso
kvm -m 1000 -cdrom output.iso

# Could anyone give me an example to do this same thing, using
# `genisoimage', or `xorriso'? Thanks for you time, -cgraf


More information about the Syslinux mailing list