Ubuntu 24.04.1 server - grub did not update after update-upgrade....
Bo Berglund
bo.berglund at gmail.com
Thu Dec 26 18:41:49 UTC 2024
I return with yet a new problem concerning my ubuntu server and grub boot....
I have run a do-release-upgrade twice on this machine to get from 20.04.6 to
24.04.1 LTS. It seemed to work with sime minor issues concerning a couple of
applications.
Now after Xmas I am back and I ran:
$ sudo apt update && sudo apt full-upgrade -y
This shows a message inside all that is written about the system needing to be
rebooted to get from kernel 5.15.0-126 to 6.8.0-51 so I did the reboot and
nothing changed:
$ uname -r
5.15.0-126-generic
and
$ dpkg --list 'linux-image*' | grep ^ii
ii linux-image-5.15.0-126-generic 5.15.0-126.136 amd64 Signed kernel image
generic
ii linux-image-6.8.0-51-generic 6.8.0-51.52 amd64 Signed kernel image generic
ii linux-image-generic 6.8.0-51.52 amd64 Generic Linux kernel image
ii linux-image-generic-hwe-20.04 5.15.0.126.136~20.04.1 amd64 Generic Linux
kernel image
I then ran:
sudo update-grub
sudo reboot
And now I stopped to look at the grub menu
(the server is on partition nvme0n1p6)
Main menu:
------------------------------------------------------------------------
Ubuntu
Advanced options for Ubuntu
Windows Boot Manager (on /dev/nvme0n1p1)
*Ubuntu 20.04.6 LTS (20.04) (on /dev/nvme0n1p6)
Advanced options for Ubuntu 20.04.6 LTS (20.04) (on /dev/nvme0n1p6)
UEFI Firmware Settings
GParted Live
Bootable ISO Image: gparted-live-1.3.1-1-amd64
-------------------------------------------------------------------------
Advanced options:
-------------------------------------------------------------------------
Advanced options:
*Ubuntu (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.15.0-126-generic (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.15.0-126-generic (recovery mode) (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.4.0-200-generic (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.4.0-200-generic (recovery mode) (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.4.0-89-generic (on /dev/nvme0n1p6)
Ubuntu. with Linux 5.4.0-89-generic (recovery mode) (on /dev/nvme0n1p6)
-------------------------------------------------------------------------
As you can see there is no mention at all of the new kernel 6.8.0-51 on the grub
menu....
And the Ubuntu version is wrong on the menu.
What can I do in order to fix this issue?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list