Skip to content

How to upgrade kernel on AWS Ubuntu 20.04 from 5.15.0-1023-aws to 5.15.0-1070-aws?

0

Currently, I use EC2 Ubuntu 20.04 with kernel 5.15.0-1023-aws. I need to upgrade new kernel 5.15.0-1070-aws. I want instruction or method to upgrade kernel.

4 Answers
4

login to your Ubuntu 22.04 instance

Run sudo apt update && apt upgrade -y to update kernel and other applications.

Restart your EC2 instance

Verify kernel version

ubuntu@ip-172-31-18-28:~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
ubuntu@ip-172-31-18-28:~$ uname -a
Linux ip-172-31-18-28 5.15.0-1070-aws #76~20.04.1-Ubuntu SMP Mon Sep 2 12:20:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
AWS
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

AWS
EXPERT

reviewed 2 years ago

0

Hi,

Please, follow all steps of https://repost.aws/knowledge-center/amazon-linux-2-kernel-upgrade to achieve this kernel upgrade.

Best,

Didier

EXPERT

answered 2 years ago

0

Hi Didier,

Pls note that I'm using Ubuntu Linux not Amazon Linux2.

Thanks.

answered 2 years ago

0

One more question. If I want to upgrade kernel to specific version (not latest version) without upgrade other application. How I can do?

For example, I'm using kernel 5.15.0-1023-aws and need upgrade kernel to version 5.15.0-1061-aws.

Thanks.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.