On 06/21/2012 11:47 PM, JD wrote:
After yum update (which produced no error messages)
kernel-3.4.2-1 was installed. So, because of my prior
problems with yum updating the kernel, I decided to
look at grub.cfg.
Again, dracut did not produce the initramfs for the new kernel.
I had to manually run
dracut -f /boot/initramfs-3.4.2-1.img 3.4.2-1.fc16.i686
and add the line
initrd /boot/initramfs-3.4.2-1.fc16.i686.img
to the bottom of each menuentry.
See the menue ntries below, as they were created by dracut for the new kernel.
menuentry 'Fedora (3.4.2-1.fc16.i686.debug)' --class fedora --class gnu-linux
--class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 259d7b44-1122-42cc-b504-3dd40027d3b9
echo 'Loading Fedora (3.4.2-1.fc16.i686.debug)'
linux /boot/vmlinuz-3.4.2-1.fc16.i686.debug
root=UUID=259d7b44-1122-42cc-b504-3dd40027d3b9 ro rd.md=0 rd.lvm=0 rd.dm=0
KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
}
menuentry 'Fedora (3.4.2-1.fc16.i686)' --class fedora --class gnu-linux --class
gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 259d7b44-1122-42cc-b504-3dd40027d3b9
echo 'Loading Fedora (3.4.2-1.fc16.i686)'
linux /boot/vmlinuz-3.4.2-1.fc16.i686
root=UUID=259d7b44-1122-42cc-b504-3dd40027d3b9 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYT
ABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
echo 'Loading initial ramdisk ...'
}
Have you checked
bugzilla.redhat.com to see if your version of dracut may be buggy? You
may need to go to an f17 or rawhide version
but maybe that's not it. Can you build the initramfs by hand (as root or sudo
"dracut -f /boot/initramfs-3.4.2-1.fc16.i686.img")?
Kevin