xorriso (& genisoimage) missing various eltorito options.

"B. S." <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Looks like xorriso has lost various eltorito options, preventing iso
generation.

$ uname -a
Linux teststop 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64
GNU/Linux

 $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.0 (stretch)
Release:        9.0
Codename:       stretch

Shall I make a bootable CD image? (y/[n]) y
INFO: Copying /var/cache/mindi/*.gz to /tmp/mindi.gs2czEkgZl/target/images
INFO: Copying /boot/vmlinuz-4.9.0-3-amd64 to
/tmp/mindi.gs2czEkgZl/target/vmlinuz
INFO: Copying /tmp/mindi.gs2czEkgZl/initrd.img to
/tmp/mindi.gs2czEkgZl/target/initrd.img
INFO: Creating a 58972 KB empty file for boot device of the ISO image
INFO: Creating a vfat filesystem on /tmp/mindi.gs2czEkgZl/mindi-bootroot.img
INFO: Mounting /tmp/mindi.gs2czEkgZl/mindi-bootroot.img on
/tmp/mindi.gs2czEkgZl/mpt
INFO: Moving boot info on /tmp/mindi.gs2czEkgZl/mpt
INFO: Invoking /usr/bin/xorriso -as mkisofs -J -r -v -p Mindi -publisher
http://www.mondorescue.org -A Mindi -V Mindi_Image -o
/var/cache/mindi/mindi.iso  -b EFI/isolinux.bin -c EFI/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot
-efi-boot images/mindi-bootroot.img -no-emul-boot .
INFO: Invoking instead /usr/bin/xorriso -as mkisofs -J -r -v -p Mindi
-publisher http://www.mondorescue.org -A Mindi -V Mindi_Image -o
/var/cache/mindi/mindi.iso -b EFI/isolinux.bin -c EFI/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot
-eltorito-platform 0xEF -eltorito-boot images/mindi-bootroot.img
-no-emul-boot
/usr/bin/xorriso -as mkisofs returned the following errors:
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/var/cache/mindi/mindi.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 99.3g free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
xorriso : FAILURE : -as mkisofs: Unrecognized option '-eltorito-platform'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
ERROR: Failed to create ISO image.


Uninstalling xorriso and rerunning produces:

Shall I make a bootable CD image? (y/[n]) y
INFO: Copying /var/cache/mindi/*.gz to /tmp/mindi.GbuYVBQjCx/target/images
INFO: Copying /boot/vmlinuz-4.9.0-3-amd64 to
/tmp/mindi.GbuYVBQjCx/target/vmlinuz
INFO: Copying /tmp/mindi.GbuYVBQjCx/initrd.img to
/tmp/mindi.GbuYVBQjCx/target/initrd.img
INFO: Creating a 58972 KB empty file for boot device of the ISO image
INFO: Creating a vfat filesystem on /tmp/mindi.GbuYVBQjCx/mindi-bootroot.img
INFO: Mounting /tmp/mindi.GbuYVBQjCx/mindi-bootroot.img on
/tmp/mindi.GbuYVBQjCx/mpt
INFO: Moving boot info on /tmp/mindi.GbuYVBQjCx/mpt
INFO: Invoking /usr/bin/genisoimage -J -r -v -p Mindi -publisher
http://www.mondorescue.org -A Mindi -V Mindi_Image -o
/var/cache/mindi/mindi.iso  -b EFI/isolinux.bin -c EFI/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot
-efi-boot images/mindi-bootroot.img -no-emul-boot .
INFO: Invoking instead /usr/bin/genisoimage -J -r -v -p Mindi -publisher
http://www.mondorescue.org -A Mindi -V Mindi_Image -o
/var/cache/mindi/mindi.iso -b EFI/isolinux.bin -c EFI/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot
-eltorito-platform 0xEF -eltorito-boot images/mindi-bootroot.img
-no-emul-boot
/usr/bin/genisoimage returned the following errors:
/usr/bin/genisoimage: unrecognized option '-eltorito-platform'
Usage: genisoimage [options] -o file directory ...

Use genisoimage -help
to get a list of valid options.

Report problems to [email protected].
ERROR: Failed to create ISO image.


$ aptitude show genisoimage
Package: genisoimage
Version: 9:1.1.11-3+b2
State: installed
Automatically installed: no
Priority: optional
Section: otherosfs
Maintainer: Joerg Jaspert <[email protected]>
Architecture: amd64
Uncompressed Size: 1,655 k
Depends: libbz2-1.0, libc6 (>= 2.14), libmagic1 (>= 5.12), zlib1g (>=
1:1.1.4)
Suggests: wodim, cdrkit-doc
Conflicts: mkhybrid, mkisofs (< 9:1.0), genisoimage:i386, mkisofs:i386
(< 9:1.0)
Replaces: mkisofs (< 9:1.0), mkisofs:i386 (< 9:1.0)
Description: Creates ISO-9660 CD-ROM filesystem images
 genisoimage is a pre-mastering program for creating ISO-9660 CD-ROM
filesystem images, which can then be written to CD or DVD media using
the wodim program.
 genisoimage includes support for making bootable "El Torito" CDs, as
well as CDs with support for the Macintosh HFS filesystem.

 The package also includes extra tools useful for working with ISO images:
 * mkzftree - create ISO-9660 image with compressed contents
 * dirsplit - easily separate large directory contents into disks of
predefined size
 * geteltorito - extract an El Torito boot image from a CD image

 Please install cdrkit-doc if you want most of the documentation and
README files.
Tags: hardware::storage, hardware::storage:cd, hardware::storage:dvd,
interface::commandline, role::program, scope::utility, use::storing,
      works-with-format::iso9660, works-with::archive


Reinstalling xorriso ...

$ xorriso -version
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

xorriso 1.4.6
ISO 9660 Rock Ridge filesystem manipulator and CD/DVD/BD burn program
Copyright (C) 2016, Thomas Schmitt <[email protected]>, libburnia project.
xorriso version   :  1.4.6
Version timestamp :  2016.09.16.133001
Build timestamp   :  -none-given-
libisofs   in use :  1.4.6  (min. 1.4.6)
libjte     in use :  1.0.0  (min. 1.0.0)
libburn    in use :  1.4.6  (min. 1.4.6)
libburn OS adapter:  internal GNU/Linux SG_IO adapter sg-linux
libisoburn in use :  1.4.6  (min. 1.4.6)
Provided under GNU GPL version 3 or later, due to libreadline license.
There is NO WARRANTY, to the extent permitted by law.


$ aptitude show xorriso
Package: xorriso
Version: 1.4.6-1+b1
State: installed
Automatically installed: no
Priority: optional
Section: otherosfs
Maintainer: Debian Libburnia packagers
<[email protected]>
Architecture: amd64
Uncompressed Size: 328 k
Depends: libburn4 (>= 1.4.6), libc6 (>= 2.3.4), libisoburn1 (=
1.4.6-1+b1), libisofs6 (>= 1.4.6), libjte1, libreadline7 (>= 6.0),
zlib1g (>= 1:1.1.4)
Suggests: jigit, cdck
Conflicts: xorriso:i386
Description: command line ISO-9660 and Rock Ridge manipulation tool
 xorriso is a command line and dialog application, which creates, loads,
manipulates, and writes ISO-9660 file system images with Rock Ridge
extensions.

 It maps file objects from POSIX compliant file systems into Rock Ridge
enhanced ISO-9660 file systems and features session-wise manipulation of
such file
 systems. It can load the management information of existing ISO images
and write the resulting session to optical medium or as file system objects.

 Supported optical media types:
 * CD-R, CD-RW
 * DVD-R, DVD-R DL, DVD-RW, DVD+R, DVD+R DL, DVD+RW, DVD-RAM
 * BD-R, BD-RE

 Some interesting features:
 * Emulation of the mkisofs and cdrecord programs.
 * Data backup and restore capabilities - compression, ACLs, and filters.
 * Isohybrid MBR with partition offset - features booting ISOLINUX from
USB sticks, or from other devices that appear to PC-BIOS as hard disks.
The images
   carry a conventional partition table for a USB stick; the first
partition reports the size of the ISO image, but starts at a non-zero
address. It is
   nevertheless still mountable.
 * Jigdo Template Export - jigdo representation of the resulting
ISO-9660 image, generated on the fly.

 Test suite:
 xorriso source code comes with a release engineering test-suite called
 `releng', which aims to cover most of the functionality of the xorriso
 and the underlying libraries of libburn, libisofs, and libisoburn.
Homepage: http://libburnia-project.org
Tags: implemented-in::c, role::program, suite::gnu,
works-with-format::iso9660


All presumably coming as a result of (in mindi):

MakeISO() {

LogAll "INFO: Invoking $CMD ."
(cd "$MINDI_TMP/mpt" ; $CMD .) > /dev/null 2> $MINDI_TMP/mkisofs.log
if [ $? -ne 0 ] ; then
        if [ "$BOOT_TYPE" = "UEFI" ]; then
                CMD=`echo $CMD | perl -p -e 's|--efi-boot
|-eltorito-platform 0xEF -eltorito-boot |; s|-efi-boot
|-eltorito-platform 0xEF -eltorito-boot |;'`
                LogAll "INFO: Invoking instead $CMD"
                (cd "$MINDI_TMP/mpt" ; $CMD .) > /dev/null 2>
$MINDI_TMP/mkisofs.log
                if [ $? -eq 0 ] ; then
                        LogAll "INFO: Created bootable ISO image at
$MINDI_CACHE/mindi.iso"
                else
                        MakeISOErrors
                fi
        else
                MakeISOErrors
        fi
else
        LogAll "INFO: Created bootable ISO image at $MINDI_CACHE/mindi.iso"
fi
rm -f $MINDI_TMP/mkisofs.log
}


$ mindi -v
Mindi v3.0.2-r3578


Any suggestions for getting through the iso generation phase, in the
mean time?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.