Public bug reported:
The `grub-install --bootloader-id` option determines the path where the
EFI binary (grubx64.efi) and config "trampoline" (grub.cfg) are
installed, typically /boot/efi/EFI/<ID>/.
GRUB's EFI binary also embeds a search prefix (via `grub-mkimage -p
/EFI/<ID>`) that it uses at runtime to locate grub.cfg. On Ubuntu, this
is `-p /EFI/ubuntu`.
If --bootloader-id does not match the -p prefix embedded in the EFI
binary, then GRUB will fail to find grub.cfg at boot and will drop to
the GRUB shell.
Users cannot reasonably be expected to intuit that --bootloader-
id=ubuntu must be passed on Ubuntu systems. As this causes a boot
failure, grub-install should emit a warning at minimum.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2119552
Title:
grub-install should warn on incompatible bootloader-id
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2119552/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs