Bug 2240994
| Summary: | grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ali <ali> |
| Component: | grub2 | Assignee: | Nicolas Frayer <nfrayer> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | fmartine, lkundrak, mlewando, nfrayer, pdupre, pjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | grub2-2.06-109.fc39 grub2-2.06-107.fc38 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-19 01:24:45 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: | |||
FEDORA-2023-4d409dcff3 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4d409dcff3 FEDORA-2023-2a9508cf8d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2a9508cf8d FEDORA-2023-2a9508cf8d has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2a9508cf8d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2a9508cf8d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-4d409dcff3 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4d409dcff3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4d409dcff3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-4d409dcff3 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-2a9508cf8d has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. I have grub2-install /dev/sda Installing for x86_64-efi platform. grub2-install: error: This utility should not be used for EFI platforms because it does not support UEFI Secure Boot. If you really wish to proceed, invoke the --force option. Make sure Secure Boot is disabled before proceeding. on a fedora 38 |
Even when installing grub into a USB drive grub2-install refuses to work (I'm not trying to install Fedora into a USB drive) ... Even with --force flag ... > sudo grub2-install --force --recheck --target=x86_64-efi --removable --boot-directory=sdb2 --efi-directory=sdb1 --directory=/usr/lib/grub/x86_64-efi/ > grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot. What's the purpose of a distro if it ships purposefully neutered packages and users have to compile from upstream source to just get some basic functionality? Why not respect the --force flag? Reproducible: Always Steps to Reproduce: 1. sudo grub2-install --force --recheck --target=x86_64-efi --removable --boot-directory=sdb2 --efi-directory=sdb1 --directory=/usr/lib/grub/x86_64-efi/ Actual Results: grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot. Expected Results: Installation finished. No error reported.