Re: grub.cfg broken after yum update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux