OCI- How to upgrade/Install kernel in Ubuntu 22.04.2 LTS
in Linux
APPLIES TO:
Oracle Cloud Infrastructure
Linux OS Ubuntu
Goal
Upgrade the kernel version from Linux 5.15.0-1034-oracle x86_64 to latest generic kernel which is kernel 5.15.0-72-generic
root@ubuntu:~# uname -r 5.15.0-1035-oracle root@ubuntu:~#
Solution
command on Ubuntu is used to update the local package index
$ apt-get update
This should install the latest generic kernel
$ apt-get install linux-generic
Perform reboot to boot the system with latest installed kernel.
$ reboot
Note : Post reboot if server is not booting with latest kernel then You should be able to manually select the latest kernel of choice when grub menu displayed.
Or
you can set default kernel by grub2-set-default
Tagged:
0