Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 884  / 1 Year ago, thu, may 4, 2023, 6:20:38

I was tempted to remove the *-generic kernel image from my EC2 instance since it's not the one running, according to uname. What's running is the *-virtual one. Thing is I'm not sure if it's safe, me not being comfortable with how these EC2 things work.


More From » 12.04

 Answers
3

Technically, it is safe to remove any non-running kernels, including the generic kernels (for EC2 nodes). EC2 is powered by Xen and running a virtual kernel (smaller footprint and trimmed for guest OS) helps to maximize performance to some extent.



I've installed and purged generic kernel images (also the headers) on EC2, no issues. Don't worry, it's not going to break things.



BTW: It is recommended to use Ksplice uptrack (free for Ubuntu and Fedora) to keep your running kernel up to date (it only supports release kernels from official repository though).



For example, the default kernel for a Ubuntu Server 12.04 is 3.2.0-23, ksplice can apply the security patches (auto or uptrack-upgrade -y) to the running kernel without rebooting, so the effective kernel running (uptrack-uname -a) is actually 3.2.0-53.



ksplice


[#29519] Friday, May 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ettorina

Total Points: 439
Total Questions: 99
Total Answers: 131

Location: Vanuatu
Member since Wed, Oct 14, 2020
4 Years ago
ettorina questions
Thu, Sep 1, 22, 15:28, 2 Years ago
Mon, Mar 14, 22, 06:04, 2 Years ago
Sun, Jul 24, 22, 13:31, 2 Years ago
;