[Bug 1875166] Re: grub-efi-amd64.postinst not running grub-install when GRUB_DISTRIBUTOR changed
Tony Middleton
1875166 at bugs.launchpad.net
Wed Apr 29 13:03:01 UTC 2020
This seems to have been fixed for 20.04.
--
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/1875166
Title:
grub-efi-amd64.postinst not running grub-install when GRUB_DISTRIBUTOR
changed
Status in grub2 package in Ubuntu:
New
Bug description:
I wished to change the label of the EFI entry created by grub-install.
I did this by amending the GRUB_DISTRIBUTOR entry in
/etc/default/grub.
I then ran "dpkg-reconfigure grub-efi-amd64" expecting this to create
a folder in /boot/efi/EFI and create an EFI entry under the new label.
However it appeared that grub-install was not run at all.
After some investigation it appears that the .postinst script will not
run grub-install unless a folder already exists in /boot/efi/EFI/ with
the same name as the new GRUB_DISTRIBUTOR value. When I created an
empty folder with the new name and reran dpkg-reconfigure everything
ran fine.
I'm not suggesting a code change but perhaps a comment to this effect
in /etc/default/grub.
This was running in an up-to-date version of Kubuntu 18.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1875166/+subscriptions
More information about the foundations-bugs
mailing list