Secondly, I came up with a way to stop grub-install from trampling on my set-up, when it's run by APT on a new version of the grub package. It is to create another EFI boot entry for a copy of the corrected grub executable:
Code:
cd /boot/efi/EFI/ubuntu sudo cp grubx64.efi mygrubx64.efi sudo efibootmgr -c -d /dev/sdc -l '\EFI\ubuntu\mygrubx64.efi' -L mine
Code:
sudo debconf-show grub-efi-amd64 | grep nvram * grub2/update_nvram: false
Leave a comment: