Opened 9 years ago

Closed 8 years ago

#782 closed defect (fixed)

genisoimage: option '-e' is ambiguous

Reported by: Petr Baláš Owned by: Bruno Cornec
Priority: normal Milestone: 3.2.2
Component: mondo Version: 3.2.1
Severity: normal Keywords:
Cc:

Description (last modified by Bruno Cornec)

tried to generate iso image, failed with genisoimage: option '-e' is ambiguous
Debian 8 (jessie)

packages from "ftp://ftp.mondorescue.org/test/debian/8" - version 3.2.220150910110122-0
architecture amd64

Call to mkisofs to make ISO (ISO #1) ...failed
---promptdialogYN---1--- Failed to create ISO #1. Retry?
---promptdialogYN---Q--- [yes] [no] ---



DBG1: [Main] libmondo-archive.c->make_iso_fs#1779: Running mkisofs to make ISO #1
DBG4: [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe --- Found genisoimage at /usr/bin/genisoimage
DBG1: [Main] libmondo-archive.c->make_iso_fs#1793: Making bootable backup
DBG1: [Main] libmondo-archive.c->make_iso_fs#1800: make_cd_use_lilo is actually 0
DBG1: [Main] libmondo-archive.c->make_iso_fs#1816: make_cd_use_lilo = FALSE
DBG1: [Main] libmondo-archive.c->make_iso_fs#1817: Isolinux
DBG3: [Main] libmondo-fork.c->eval_call_to_make_ISO#110: Starting
DBG4: [Main] libmondo-fork.c->eval_call_to_make_ISO#132: basic call = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -J -boot-info-table 
-no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '_ISO_' -V _CD#_ .'
DBG4: [Main] libmondo-fork.c->eval_call_to_make_ISO#136: midway_call = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -J -boot-info-table
 -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '/_archive/linux.rehabilitacniustav.cz-2015-10-11/mondorescue-1.iso' -V _CD#_ .'
DBG4: [Main] libmondo-fork.c->eval_call_to_make_ISO#140: ultimate call = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -J -boot-info-tab
le -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '/_archive/linux.rehabilitacniustav.cz-2015-10-11/mondorescue-1.iso' -V 1 .'
INFO: Please be patient. Do not be alarmed by on-screen inactivity.
DBG4: [Main] libmondo-fork.c->eval_call_to_make_ISO#144: Calling open_evalcall_form() with what_i_am_doing='Running mkisofs to make ISO #1'
DBG3: [Main] libmondo-fork.c->eval_call_to_make_ISO#173: command = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -J -boot-info-table -no
-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '/_archive/linux.rehabilitacniustav.cz-2015-10-11/mondore
scue-1.iso' -V 1 . >> /var/log/mondoarchive.log'
DBG3: [Main] libmondo-fork.c->run_external_binary_with_percentage_indicator_NEW#645: command = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Ver
sion -J -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '/_archive/linux.rehabilitacn
iustav.cz-2015-10-11/mondorescue-1.iso' -V 1 . >> /var/log/mondoarchive.log 2>> /var/log/mondoarchive.log'
INFO: Running mkisofs to make ISO #1
INFO:    Running mkisofs to make ISO #1
DBG4: [Main] libmondo-fork.c->run_prog_in_bkgd_then_exit#609: sz_command = 'genisoimage -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -J -boot-info-t
able -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4  -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot -o '/_archive/linux.rehabilitacniustav.cz-2015-10-11
/mondorescue-1.iso' -V 1 . >> /var/log/mondoarchive.log 2>> /var/log/mondoarchive.log'                                                                                              
genisoimage: option '-e' is ambiguous; possibilities: '--eltorito-boot' '--exchange' '--ethershare' '--exclude-list' '--exclude' '--eltorito-catalog' '--eltorito-alt-boot'
Usage: genisoimage [options] -o file directory ...

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

Change History (6)

comment:1 by Bruno Cornec, 9 years ago

Description: modified (diff)
Status: newassigned

comment:3 by Petr Baláš, 9 years ago

As workaround you can use this genisoimage wrapper:


#! /bin/bash

options=() # the buffer array for the parameters

while $1 do

case "$1" in

-e)

options+=("--eltorito-boot") shift ;;

*)

options+=("$1") shift ;;

esac

done

echo Calling genisoimage "${options[@]}"

eval exec /usr/bin/genisoimage "${options[@]}"

comment:4 by Bruno Cornec, 8 years ago

I have changed the usage of -e by the real option -efi-boot That should work better, but I still have issues creating UEFI bootable media (as reported in #777).

comment:5 by Bruno Cornec, 8 years ago

I've added support for xorriso with rev [3502]. It will be used first if available.

A new debian 8 test version for mondo is now available under ftp://ftp.mondorescue.org/test/debian/8

Please report if that fixes your issue for good.

comment:6 by Bruno Cornec, 8 years ago

Resolution: fixed
Status: assignedclosed

Should now be fixed with rev [3514]. New test version on its way.

Note: See TracTickets for help on using tickets.