#1221 isohybrid unable to find mac efi image
Closed: Invalid 3 years ago by lsedlar. Opened 4 years ago by dnevil.

During the CreateISO phase, pungi runs xorriso, then attempts to run isohyprid with the -m flag, and fails with the error message "unable to find mac efi image". The file os/images/macboot.img exists.

Here is the sequence of events.

pungi -I --force --name=Savant --ver=2.15 --flavor=Reliant --nosource --nodebuginfo --bugurl=http://serviceweb.intrusion.com --config=savant.ks --isfinal
Warning: Reusing existing destination directory.
Warning: Reusing existing working base directory.
Pungi:INFO: Waiting on '/var/cache/pungi/yumlock.lock'
Pungi:INFO: Got '/var/cache/pungi/yumlock.lock'
Pungi:INFO: Lock count upped to 1
Pungi:INFO: Lock count downed to 0
Pungi:INFO: None None None
Pungi:INFO: Released '/var/cache/pungi/yumlock.lock'
xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.

Pungi:INFO: Running /usr/bin/xorriso -as mkisofs -v -U -J --joliet-long -R -T -m repoview -m boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -eltorito-alt-boot -e images/macboot.img -no-emul-boot -V Savant-Reliant-2.15-x86_64 -o /home/dnevil/git/savant/pungi/2.15/Reliant/x86_64/iso/Savant-Reliant-DVD-x86_64-2.15.iso /home/dnevil/git/savant/pungi/2.15/Reliant/x86_64/os
Pungi:INFO: Running /usr/bin/isohybrid --id 42 -u -m /home/dnevil/git/savant/pungi/2.15/Reliant/x86_64/iso/Savant-Reliant-DVD-x86_64-2.15.iso
Pungi:ERROR: Got an error from /usr/bin/isohybrid
Pungi:ERROR: isohybrid: /home/dnevil/git/savant/pungi/2.15/Reliant/x86_64/iso/Savant-Reliant-DVD-x86_64-2.15.iso: unable to find mac efi image

Traceback (most recent call last):
File "/usr/bin/pungi", line 362, in <module>
main()
File "/usr/bin/pungi", line 196, in main
mypungi.doCreateIsos()
File "/usr/lib/python2.7/site-packages/pungi/gather.py", line 1870, in doCreateIsos
pungi.util._doRunCommand(isohybrid, self.logger)
File "/usr/lib/python2.7/site-packages/pungi/util.py", line 60, in _doRunCommand
raise OSError("Got an error (%d) from %s: %s" % (p1.returncode, command[0], err))
OSError: Got an error (1) from /usr/bin/isohybrid: isohybrid: /home/dnevil/git/savant/pungi/2.15/Reliant/x86_64/iso/Savant-Reliant-DVD-x86_64-2.15.iso: unable to find mac efi image


The pungi version number is 4.1.37-1.fc29

Can you share the kickstart file? It would help in debugging this issue.

# Use CDROM installation media
cdrom

# System language
lang en_US

# System keyboard
keyboard us

# System authorization information
#authconfig --enableshadow --passalgo=sha512

# Use text install
skipx
text

# Setup em1 as the management ports
#network --device=em1 --bootproto=dhcp --hostname savant

# Set root password to 'password'
rootpw password

# Firewall configuration
firewall --enabled --port=22:tcp

# Run the Setup Agent on first boot
firstboot --enabled

# SELinux configuration
selinux --disabled

# Reboot after installation
#reboot --eject

# Limit installation to only the main disk
#ignoredisk --only-use=sda

# Allow the install user to change the default settings
#interactive

# System timezone
timezone Etc/GMT

# System bootloader configuration
bootloader --location=mbr --driveorder=nvme1n1p1 --append=" rhgb quiet "

# Clear the Master Boot Record
zerombr

# Clear any existing partions from all drives
clearpart --all --initlabel --drives=nvme1n1p1,nvme1n1p2,sda

# Create Partitions
# Intel NUC Skull uses EFI boot
part /boot --size=1000 --ondrive=nvme1n1p2
part /boot/efi --size=200 --ondrive=nvme1n1p1
part raid.01 --size=16000 --ondrive=nvme1n1p1
part raid.02 --size=16000 --ondrive=nvme1n1p2
part raid.11 --size 100000 --grow --ondrive=nvme1n1p1
part raid.12 --size 100000 --grow --ondrive=nvme1n1p2
raid swap --fstype swap --device swap --level=RAID0 raid.01 raid.02
raid / --fstype ext4 --device root --level=RAID0 raid.11 raid.12

# This partitions is for the Packet File System, use all space on the external drive
part pv.01 --size=1000 --grow --ondrive=sda

This is a problem in the old /usr/bin/pungi executable, which is no longer packaged on Fedora since it's limited to Python 2. If this is still a problem a problem, please submit a patch to fix it.

Metadata Update from @lsedlar:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata