Red Hat Bugzilla – Bug 768645
dracut has moved to /usr/bin/dracut with dracut-014
Last modified: 2012-01-03 20:55:41 EST
Description of problem:
initramfs images are not being built for kernel installs/updates because new-kernel-pkg runs /sbin/dracut which no longer exists.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Until the new grubby is available, the following works for me to generate and use the new initramfs file in /boot. (I had to read some to figure out how, adjust the dracut line for desired kernel version.)
# cd /boot
# dracut initramfs-3.2.0-0.rc5.git3.1.fc17.x86_64.img 3.2.0-0.rc5.git3.1.fc17.x86_64
# grub2-mkconfig -o /boot/grub2/grub.cfg
The build failed.
8.5 added a new test as well as the change to not use a hard coded path for dracut.
The new test is failing which is preventing the build.
I ran test.sh with the following removed and to confirm the new test was the one that is failing:
grub2Test grub2.1 remove/g2-1.4 --remove-kernel=/boot/vmlinuz-188.8.131.52-9.fc15.x86_64 \
It looks like the test output has "Linux" in two places it should have "Fedora". I don't know if that output change is rawhide specific though.
Reopening until there is an actual completed grubby build ( http://koji.fedoraproject.org/koji/buildinfo?buildID=279194 wasn't it).
*** Bug 768481 has been marked as a duplicate of this bug. ***
I see a successful grubby-8.6-1.fc17 build http://koji.fedoraproject.org/koji/buildinfo?buildID=279336 - should this be closed now?
I tested the updated grubby and it built an initramfs image, so I am going to close this.
As a side note, I noticed that the update for grubby doesn't seemed to have been pushed to the upstream grubby repo which is still at 8.5 instead of 8.6.
Created attachment 548713 [details]
/boot/grub2/grub.cfg after reinstalling the newest kernel
I tested it by updating grubby, rebooting into an older kernel and reinstalling kernel-3.2.0-0.rc6.git0.1.fc17.x86_64. It works, but there are now 2 grub2 entries for the newest kernel.
I was able to reproduce the same issue on F16 so it's not new. Filed bug 769119.
grubby-8.8-2.fc16 has been submitted as an update for Fedora 16.
grubby-8.8-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.