Bug 1868834
Summary: | EFI files sometimes corrupted after upgrade and reboot | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom Anderson <twic> |
Component: | grub2 | Assignee: | Javier Martinez Canillas <fmartine> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | fmartine, information, knordback, lkundrak, netllama, pjones |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | --- | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-25 16:38:41 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
Tom Anderson
2020-08-13 23:12:55 UTC
I thought i'd take a closer look at the state of the files in /boot/efi/EFI/fedora: [root@olympus ~]# find /boot/efi/EFI/fedora -type f | xargs rpm -qf | grep -v 'is not owned by any package' | sort -u | xargs rpm -V | sort -u .M....... c /boot/efi/EFI/fedora/grub.cfg .M....... c /boot/efi/EFI/fedora/grubenv SM5....T. /boot/efi/EFI/fedora/gcdia32.efi SM5....T. /boot/efi/EFI/fedora/gcdx64.efi SM5....T. /boot/efi/EFI/fedora/grubia32.efi SM5....T. /boot/efi/EFI/fedora/grubx64.efi I've fixed the permissions, but that leaves the size, digest, and modification time different for the EFI files. From the package names, it seem like some of these files are only needed on IA32, and some are only needed when booting off removable media. I'm not sure i need those at all. I had a look at which packages were upgraded as part of the update which preceded the problem (which was update 208 in dnf history): [root@olympus ~]# dnf history info 208 | sed -rn 's/^\s*(Install|Upgrade)\s+(\S+).*$/\2/p' | sort -u Nothing in the lists stands out as being related to booting, apart from a kernel update. For the record, I had the same problem. In my case it was on Mac Mini hardware from 2012, so Apple hardware is a common thread. Mine is dual-booted with Mac OS/X and FC (currently 32). I did a dnf upgrade --refresh and rebooted, and got the same errors shown above: Invalid image Failed to read header: Unsupported Failed to load header: Unsupported start_image() returned Unsupported Based on the suggestions here (thanks for those), I also found that my /boot/efi/EFI/fedora/mmx64.efi and /boot/efi/EFI/fedora/grubx64.efi were of size 0. I copied these from an FC33 live USB, along with gcdx64.efi, which didn't exist at all (but I have no idea if it's necessary). After that I can boot successfully into FC. Looking at my dnf history info, I do see that the upgrade affected some grub2 packages, including grub2-common and grub2-efi-x64. This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. 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 EOL if it remains open with a Fedora 'version' of '32'. 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. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 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 change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. 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. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 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. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |