Bug 731795
| Summary: | can't boot after yum update to F16 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jiri Moskovcak <jmoskovc> |
| Component: | grubby | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | a.sloman, bcl, collura, dfediuck, harald, jonathan, kay, pjones, redhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-13 21:09:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jiri Moskovcak
2011-08-18 16:51:31 UTC
Well, if /lib/modules/3.0.0-1.fc16.x86_64/modules.dep is missing, then you built your own kernel and forgot "depmod -a" or the kernel image is broken. $ rpm -q kernel-3.0.0-1.fc16.x86_64 --scripts|fgrep depmod /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update 3.0.0-1.fc16.x86_64 || exit $? ... so new-kernel-pkg failed to depmod and build the initramfs. I had the same symptoms on my upgrade. I did a preupgrade script upgrade, but for some reason I was left without an initramfs file. Extracting the script line from the package (rpm -q kernel-VERSION --scripts) followed by grub2-mkconfig 'cured' the problem for me to regenerate and configure the initramfs file for the 3.1 kernel. I don't know why the upgrade itself failed though. This was on a virtual machine, once disk, msdos partition, "physical" boot partion + lvm virtual host. (In reply to comment #3) > I had the same symptoms on my upgrade. I did a preupgrade script upgrade, but > for some reason I was left without an initramfs file. > > Extracting the script line from the package (rpm -q kernel-VERSION --scripts) > followed by grub2-mkconfig 'cured' the problem for me to regenerate and > configure the initramfs file for the 3.1 kernel. > > I don't know why the upgrade itself failed though. I suspect that this is yet another symptom of seriously buggy code in grubby which causes the wrong root UUID to be inserted in /boot/grub2/grub.cfg for the updated kernel. A typical report of this is bug #751875 I suspect many obscure/undiagnosed bug reports after kernel upgrade have this source: it was only after struggling in vain for some time that I happened to discover that the wrong UUID had been inserted for root partition when I used 'yum updated kernel'. Since then it has happened every time, and I then have to edit the /boot/grub2/grub.cfg menu to fix the UUID for root. It leaves the older menu entries unchanged, but selects the UUID for a partition I had previously used for root in fedora 15. In this situation I suspect most users never discover the cause of their inability to boot into a new kernel, not least because the UUID will not be immediately recognisable as wrong. This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |