[Bug 2119552] Re: grub-install should warn on incompatible bootloader-id

Mate Kukri 2119552 at bugs.launchpad.net
Tue Aug 5 17:16:57 UTC 2025


--bootloader-id=ubuntu is only enforced with UEFI secure boot signed
binaries. If you remove grub-efi-amd64-signed or pass --no-uefi-
secureboot it should work with any bootloader ID.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2119552

Title:
  grub-install should warn on incompatible bootloader-id

Status in grub2 package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2119552/+subscriptions




More information about the foundations-bugs mailing list