You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI- How to upgrade/Install kernel in Ubuntu 22.04.2 LTS

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!