While creating the EFI boot image for apple machines, lorax calls mkfs.hfs and crashes with a 'no such file or directory' error from the subprocess call. [root@f17rawhide fedora_images]# mkefiboot --label=ANACONDA --apple --icon=/home/tflink/fedora_images/work/Fedora/x86_64/installroot/usr/share/pixmaps/bootloader/fedora.icns /home/tflink/fedora_images/f17usrmove-test1/Fedora/x86_64/os/EFI/BOOT /home/tflink/fedora_images/f17usrmove-test1/Fedora/x86_64/os/images/macboot.img Traceback (most recent call last): File "/sbin/mkefiboot", line 105, in <module> mkmacboot(opt.bootdir, opt.outfile, opt.label, opt.icon) File "/sbin/mkefiboot", line 35, in mkmacboot mkhfsimg(None, outfile, label=label, graft=graft) File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 294, in mkhfsimg mkfsargs=["-v", label], graft=graft) File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 273, in mkfsimage stdout=PIPE, stderr=PIPE) File "/usr/lib64/python2.7/subprocess.py", line 506, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Submitting as F17 alpha blocker because it blocks image composition.
I patched lorax locally such that it doesn't crash during image compose and I suspect that everything will work but I don't have a mac to test with. I'm planning to submit the lorax patch shortly (it's a small one-liner). The test iso is available at: http://tflink.fedorapeople.org/iso/20120206_hfspatchtest.boot.iso http://tflink.fedorapeople.org/iso/20120206_hfspatchtest.boot.iso.sha256
Patch has been submitted to anaconda-devel-list: https://www.redhat.com/archives/anaconda-devel-list/2012-February/msg00034.html Patch is available at: http://tflink.fedorapeople.org/packages/lorax/0001-changing-hfs-to-hfsplus-so-that-the-correct-mkfs-bin.patch Locally built rpm with this patch and the patch to fix #787781 is available at: http://tflink.fedorapeople.org/packages/lorax/lorax-17.3-usrmove2.fc17.x86_64.rpm
20120206_hfspatchtest.boot.iso burned to CD: Macbook Pro i7 shows 3 additional icons on boot with "options "Key held down: Macintosh HD Windows (CD) Boots to start screen Install or upgrade fedora Troubleshooting EFI Boot (CD) EFI Boot (Fedora Branding) Both Boot to Grub 0.97-85.f17 prompt:
Patch from comment #3 has been applied and is in upstream git.
Discussed at 2012-02-10 blocker review meeting. Fix for this issue was included in the lorax used for TC2 and the issue is resolved, so closing. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers