How I think I got into the problem
After the system installation I proceeded to install upstream kernel, changed /etc/initramfs-tools/conf.d/resume by commenting out the RESUME...
line and then I run update-initramfs -u
. While I now realize that this was probably unnecessary, I did it while following an article describing the system setup with automatically decrypted partitions.
Problem
The default Grub entry now points to the upstream image instead of the latest one coming from Ubuntu and it does not get updated when a new image is installed during upgrades.
I'd like to stop using the upstream image and go with whatever latest image is installed. Obviously, I can always pick it manually from the Grub menu during boot but I'd like the default entry to get updated automatically.
Questions
Q1: Is the fact that the default entry points to the kernel with higher version preventing the installer to upgrade the entry?
Q2: How does the installer actually know which entry to update?
Notes
I admit I have limited knowledge of Grub and the system in general. Feel free to point out and explain any misconceptions I might have stated.