Re: dracut in kernel-3.3.5-2.fc16.i686 and kernel-3.3.6-3.fc16.i686 fails to mount root

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

 



On 05/26/2012 06:45 PM, Bill Davidsen wrote:

Don't think it's you, although it doesn't seem to be universal. Some hardware seems to trigger a different output from the blkid calc, while most work. That's only based on three upgrades, two worked fine, one did as you say, haven't gotten to building a 3.4 kernel yet, on my to-do list for the weekend.


I believe I have fixed  the problem, but I have no idea
what had caused it in the first place.
First time it happened was when yum update brought in
 kernel-3.3.5-2.fc16.i686, and I rebooted into the new kernel.
2nd time was when yum update brought in  kernel-3.3.6-3.fc16.i686 .
So I remained with booting kernel-3.3.4-3.fc16.i686.
Finally, today I decided to examine /boot/grub2/grub.cfg.
I read it carefully line by line and compared each line with
the corresponding  line in menuentry for kernel-3.3.4-3.fc16.i686.
I saw that when the first yum update brought in kernel-3.3.5-2.fc16.i686,
it  messed up the uuid's in the menuentry for kernel-3.3.5-2.fc16.i686
as follows:

menuentry 'Fedora (3.3.5-2.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 03f82b3c-5163-465b-a4c3-3bcb349a1cc4
        echo 'Loading Fedora (3.3.5-2.fc16.i686)'
linux /boot/vmlinuz-3.3.5-2.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 rd.luks=0 LANG=en_US.UTF-8
        echo 'Loading initial ramdisk ...'
        initrd /boot/initramfs-3.3.5-2.fc16.i686.img
}

Notice the difference between the UUID's
The linux line has the correct uuid, but the search line has the wrong uuid.

So, when the 2nd yum update came along, it repeated the same error.

Today, I rpm  -e'd both of the kernels, and did yum update kernel
and it brought in kernel-3.3.6-3.fc16.i686 and I checked grub.cfg.
And now it has the correct uuid on both lines of the the menu entry.
So, I am guessing that installation of 3.3.5-2 must have introduced
the error and 3.3.6-3 simply used that as a template to follow.
I cannot find the binary rpm for 3.3.5-2 to retry installing it to see
if it will commit the same erroneous menuentry into grub.cfg
If you do have it, please send link.


--
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