How can I install a "-generic" Linux kernel version on my EC2 Ubuntu instance rather than the "-aws" version?

0

My EC2 instance is running Ubuntu 20.04.6 LTS, and the kernel version is " 5.15.0-1066-aws" I am not able to install an azure replication install package, as the expected kernel version according to the installer should be "5.15.0-1066-generic". Is it possible to install a package that has a version with "-generic" rather than "-aws"?

asked 5 months ago476 views
2 Answers
2

Hi,

This documentation will show you how to install user-provided kernels on EC2 instance: https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html

This way you can use exactly the kernel version you want.

Best,

Didier

profile pictureAWS
EXPERT
answered 5 months ago
profile picture
EXPERT
reviewed 5 months ago
EXPERT
reviewed 5 months ago
  • Thanks Didier.

    I'll install the generic kernel, and reboot on that and see if the installation package works.

    Kind regards Jason

0

Hello!

You can try installing a different kernel(-generic) that you have. Change the kernel using the rescue instance method. Before doing this, take a snapshot or create an AMI, and try it on an instance launched from the AMI or snapshot. Although not confirmed, you can also try it in a test environment where you have the "-aws" kernel.

[+] https://repost.aws/knowledge-center/revert-stable-kernel-ec2-reboot

profile picture
answered 5 months 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.

Guidelines for Answering Questions