4 Answers
- Newest
- Most votes
- Most comments
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
0
Hi,
Please, follow all steps of https://repost.aws/knowledge-center/amazon-linux-2-kernel-upgrade to achieve this kernel upgrade.
Best,
Didier
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
