Centos kernel updates

April 26, 2014 962 views
Last year I did the usual yum update process not long after I started my DO use and fouled my system up. DO support put my kernel back and told me to put this line in /etc/yum.conf : exclude=kernel* I "yum update -y" regularly on this droplet, multiple home systems and my AWS instances. However, I see my DO kernel getting progressively more out of date, as expected. Today I followed the documentation to upgrade my kernel, selecting what I know to be the current CentOS 6.5 x64 kernel on the DO web control panel. Then shutdown -r now, followed by power on at web control panel. It boots and I can access the console but can't ssh in, the ethernet doesn't seem to be up, etc -- just generally fouled up. So, I put the kernel back to what I have been running = 2.6.32-431. and it's all working again. How do I update the kernel? I know that, at least for my droplet, neither the documentation nor what I have seen here on the forums works. Thanks for any help.
1 Answer
The kernel version in the control panel and the droplet need to match.

Look in /lib/modules for the highest version of the installed kernel library available.

In the control panel, in a droplet's settings, look for a kernel that matches your OS version, kernel library version, and architecture (x32 or x64). Select that kernel and submit. If the kernel doesn't exist there, stop and let us know your OS and version, your architecture, and what you saw in /lib/modules in a support ticket.

Once the kernel is set, reboot and test.
Have another answer? Share your knowledge.