Created attachment 566439 [details] anaconda traceback and debug info Description of problem: Install from DVD for Fedora 17 Alpha x86_64 crashes when installing boot loader on target root partition. Version-Release number of selected component (if applicable): anaconda 17.11 How reproducible: Steps to Reproduce: 1. Use pungi to create install DVD from f17-branched (Alpha), updates, and updates-testing on Tues.Feb.28 (uses anaconda-17.11 and kernel-3.3.0-0.rc4.git1.4.fc17.x86_64) 2. Boot DVD for fresh install, Basic disk devices, Custom partitioning, choose existing partition to reformat as ext4 for root. 3. Put boot loader on beginning of root partition. Actual results: anaconda 17.11 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1659, in write_device_map dev_map = open(map_path, "w") File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1729, in write_config self.write_device_map() File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1068, in write self.write_config() File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2250, in writeBootloader anaconda.bootloader.write() File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch self.dir = self.steps[self.step].target(self.anaconda) File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward self.dispatch() File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1200, in nextClicked self.anaconda.dispatch.go_forward() File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback self.intf.icw.nextClicked() File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1220, in handleRenderCallback self.currentWindow.renderCallback() IOError: [Errno 2] No such file or directory: '/mnt/sysimage/boot/grub2/device.map' Expected results: no complaint Additional info:
Did the grub2 package get dropped from your tree? From your log files: 17:13:02,806 DEBUG anaconda: no package matching grub2
I see grub2 package: -rw-r--r--. 1 root root 1309793 Dec 14 12:21 /var/cache/pungi/fedora-17-branched/packages/grub2-1.99-14.fc17.x86_64.rpm The only mention of grub2 in lorax-17.6-1.fc17.x86_64 is: /usr/share/lorax/runtime-cleanup.tmpl:removefrom grub2 /sbin/* /usr/bin/* How should I check that grub2 should have been included (what caused anaconda's complaint)?
The issue is that there's no grub2 rpm in your DVD's Packages/ dir. I think pungi is the one that chooses the packages for the DVD. That's where you want to look.
I cannot find anything in pungi right now. I'll check again on Tues.Mar.6.
Immediate cause was old /usr/share/spin-kickstarts/fedora-install-fedora.ks which did not list grub2, grub-efi, and efibootmgr. Updating package fedora-kickstarts fixed the immediate problem. There should be a warning at compose time if grub2, grub-efi, or efibootmgr packages are not present. I suppose that implicates pungi.
> There should be a warning at compose time if grub2, grub-efi, or efibootmgr > packages are not present. I suppose that implicates pungi. Upon further review, I believe that anaconda should change this message: 17:13:02,806 DEBUG anaconda: no package matching grub2 into a full ERROR. At least, the shell exit status code should be non-zero.
We don't normally error out if requested packages aren't available. We don't have a good way of knowing what is "critical" and what isn't, nor do we really want to create such a list.