On my Bionic Kubuntu, there is a stub grub. cfg in the EFI/ubuntu directory that is not used at all. Making changes to it had no effect. Before I mucked around with it the grub EFI executable beside it had a reference inside it (in grub's format) to /@/boot/grub/grub.cfg, which is what Kubuntu sees as /boot/grub/grub.cfg, and that is what update-grub updates.
I'm not sure your Neon does things that way.
I have taken control of grub by giving it its own subvolume and manually maintaining a very simple grub.cfg there. No install will trample on it.
[edit] After posting this I realised that I use btrfs, and probably the OP does not. The above still applies to ext4 file systems, just delete "/@" and substitute "partition" for "subvolume". I used grub like that for many years, with so little effort I forgot how I did things.
Regards, John Little
I'm not sure your Neon does things that way.
I have taken control of grub by giving it its own subvolume and manually maintaining a very simple grub.cfg there. No install will trample on it.
[edit] After posting this I realised that I use btrfs, and probably the OP does not. The above still applies to ext4 file systems, just delete "/@" and substitute "partition" for "subvolume". I used grub like that for many years, with so little effort I forgot how I did things.
Regards, John Little
Comment