Bug 826781
| Summary: | 'File Not Found' on startup | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Greear <greearb> |
| Component: | grub2 | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | bcl, dennis, htl10, mads, pedrogfrancisco, pjones, s.egbert |
| 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: | 2012-05-31 00:26:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ben Greear
2012-05-31 00:06:49 UTC
preupgrade is apparently broken in several ways and will fail to configure the boot loader properly. Please try grub2-install /dev/sdX grub2-mkconfig /boot/grub2/grub.cfg and see if that makes the problem go away. Remember to take a backup of /boot if you would like to have a backup. Yes, that makes the errors go away. I still can't boot a custom kernel (hangs before the services start), but at least no grub2 error messages, and the standard F17 kernel boots fine. That is a strong evidence that whatever it was, it wasn't a grub2 issue. You can try to check the open preupgrade bugs and see if you can add something there or find answers ... or if you should file a preupgrade issue. (In reply to comment #3) > That is a strong evidence that whatever it was, it wasn't a grub2 issue. You > can try to check the open preupgrade bugs and see if you can add something > there or find answers ... or if you should file a preupgrade issue. I have the same problem - I still would like to know what went wrong instead of just doing comment 1 to make the problem go away. What can I try before I proceed to get rid of the problem? preupgrade did not install a new boot loader ... and patching the existing one with grubby also failed. (In reply to comment #5) > preupgrade did not install a new boot loader ... and patching the existing > one with grubby also failed. But it still 'works' - the new kernel is operational, just with mysterious error messages during grub/dracut? I think this is a bug with preupgrade - it does not put the latest grub2 under /boot . Filed "Bug 827987 - preupgrade does not run grub2-install" and attached my /boot before grub2-install to fix it, and it worked. Encountered "Bug 817187 - GRUB2 error: file '/boot/grub2/locale/en.mo.gz' not found" after getting rid of the three no-name error lines. That is trivially worked around by copying one file over (https://bugzilla.redhat.com/show_bug.cgi?id=817187#c5). Turns out that missing any MO file often means that someone forgot to define `LANG` environment variable.
This is rather common when doing a rescue-CD-based bootup sequence where one forgets to execute:
source /etc/profile
which in turns sources the `/etc/profile.env`, which in turns defines the `LANG=C.UTF8` environment variable.
Without this LANG defined during `grub2-install` (now `grub-install`), this error message will occur during the next reboot.
|