Description of problem: Upgrade grub2 "installs" (puts expected files in proper locations), but I get this error: "/usr/sbin/grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot." I tried various settings in BIOS. It only boots UEFI, Secure Boot on/off is irrelevant. Downgrade to 2.04 & all is restored. RPMs used: grub2-common grub2-efi-x64-* grub2-tools-* Version-Release number of selected component (if applicable): 2.06~rc1 How reproducible: Every attempt Actual results: grub2-install says "/usr/sbin/grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot." Expected results: An installation with no errors that boots Additional info: Lenovo X390 running F33. Please resolve before releasing F34!
(In reply to Guido from comment #0) > Description of problem: > > Upgrade grub2 "installs" (puts expected files in proper locations), but I > get this error: > > "/usr/sbin/grub2-install: error: this utility cannot be used for EFI > platforms because it does not support UEFI Secure Boot." > > I tried various settings in BIOS. It only boots UEFI, Secure Boot on/off is > irrelevant. > You shouldn't use grub2-install on EFI installs, the grub2-efi-x64 package installs the grub2x64.efi binary in the correct location. The command does not work correctly and causes the GRUB installation to not support Secure Boot anymore (you might not want use it but others users do).
>You shouldn't use grub2-install on EFI installs, the grub2-efi-x64 package >installs the grub2x64.efi binary in the correct location. The command does >not work correctly and causes the GRUB installation to not support Secure >Boot anymore (you might not want use it but others users do). Yes, indeed. Thanks. As an aside, is this new in 2.06? I have used grub2-install utility manually for many years on 2.04 or earlier on Fedora & other distros without issue, ever. On EFI or BIOS, no problems.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
*** This bug has been marked as a duplicate of bug 1917213 ***