[Bug 1453980] Re: grub-install installs wrong bootloader when --removable and --uefi-secure-boot are used.
Ubfan
1453980 at bugs.launchpad.net
Sat Jan 6 06:20:52 UTC 2018
On Ubuntu 16.04, uefi secure boot enabled, grub-efi package
2.02~beta2-36ubuntu3.15, the original problem has been fixed, like the
suggestion in the original posting (just use shim) , but now the --no-
uefi-secure-boot switch on grub-install does not cause grubx64.efi to be
used as .../EFI/Boot/bootx64.efi, instead the legacy core.img is used.
There is apparently no way to install grub to a removable disk for use
on a non-secure boot UEFI system from a 16.04 secure boot system.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1453980
Title:
grub-install installs wrong bootloader when --removable and --uefi-
secure-boot are used.
Status in grub-installer package in Ubuntu:
New
Bug description:
Ubuntu 15.04
With the --removable switch, grub-install will now correctly install grubx64.efi as the default bootloader
in the EFI partition's /EFI/Boot/bootx64.efi file, but with the addition of --uefi-secure-boot, it still
uses grubx64.efi as bootx64.efi instead of shimx64.efi. The use of both --removable and --uefi-secure-boot
should result in shimx64.efi copied to the /EFI/Boot/bootx64.efi file, and grubx64.efi just copied to the
/EFI/Boot directory.
Since the shimx64 as bootx64.efi will work with secure boot enabled or disabled, the easiest solution would be to just use it every time the --removable is used.
grubx64.efi will not successfully boot a UEFI machine with secure boot enabled.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1453980/+subscriptions
More information about the foundations-bugs
mailing list