Page 1 of 1

[Solved] Grub not updated after upgrading kernel (64-bit only)

Posted: 09 Jan 2024 10:13
by Papasot
Just before I did a routine system upgrade in both 32- and 64-bit. No problem at all in 32-bit, but in 64-bit (real installation on disk) I get this:

Code: Select all

pap[~]$ install-upgrade-kernel upgrade huge
...
< kernel upgraded from 6.6.9 to 6.6.10 here >
...
updating grub
mv: not replacing '/boot/grub/grub.cfg.old.17362'
So Grub was not updated. I had to manually run update-grub in order to avoid problems after rebooting. This worked as expected, so no problems, but I don't know why Grub was not updated automatically in 64-bit, as it normally does (and did in 32-bit). My only guess is there is something wrong with kernel 6.6.10 which is the latest in 64-bit, while in 32-bit the latest is 6.1.66.

Re: Grub not updated after upgrading kernel (64-bit only)

Posted: 13 Jan 2024 18:01
by djemos
The latest kernel version are always the same for 64 and 32 bit. Latest version is 6.6.11.
I had no problem here upgrading 64 and 32 bit. I used both install-upgrade-kernel and install-upgrade-kernel-ext-usb utilites.
On both cases grub run without problem.

Re: [Solved] Grub not updated after upgrading kernel (64-bit only)

Posted: 13 Jan 2024 21:35
by Papasot
Today's system update upgraded the kernel to 6.6.11, and Grub was automatically updated as expected (even in 64-bit). I have no idea why Grub didn't update in 64-bit last time and I had to do it manually, but now it works.

As for the kernel 6.1.66 I mentioned as "latest" for 32-bit that was because, for some reason, Grub had that one as the default, even though 6.6.10 was installed. Today kernel was upgraded to 6.6.11 and Grub still had 6.1.66 as default. I had to manually uninstall the older kernel and update Grub. I did not change the Grub's default kernel myself in the past so I don't know why it kept 6.1.66 as default. However now it loads 6.6.11 at boot, so it's fine.