Thank you for filing this bug report.

In my opinion, this bug is not caused by grub2, but by a configuration
file in calamares-settings-ubuntu.

During installation the variable GRUB_DISTRIBUTOR in /etc/default/grub
is set to 'Lubuntu 19.04' instead of `lsb_release -i -s 2> /dev/null ||
echo Debian`.

####################################################

[Test Case]
1. Install Lubuntu 19.04 in EFI mode
2. Check that there is a boot entry named "ubuntu" with: sudo efibootmgr -v
3. Install Grub: sudo grub-install
4. Check that there are now two boot entries for Lubuntu: One named "ubuntu" 
with "File(\EFI\ubuntu\shimx64.efi)"    and another named "lubuntu" with 
"File(\EFI\lubuntu\shimx64.efi)"
5. Edit /etc/default/grub and replace "GRUB_DISTRIBUTOR='Lubuntu 19.04'" with 
"GRUB_DISTRIBUTOR='bug'"
6. Reinstall Grub
7. Check that there are now three boot entries for Lubuntu: "ubuntu", 
"lubuntu", and "bug"

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

Title:
  lubuntu grub-install puts efi in the wrong directory - could create an
  unbootable state

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1833490/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to