By xmmedia
I have a server that has the following kernels installed:
kernel-2.6.32-696.13.2.el6.x86_64
kernel-2.6.32-696.16.1.el6.x86_64
kernel-2.6.32-696.18.7.el6.x86_64
kernel-2.6.32-696.20.1.el6.x86_64
I’m using the DO GrubLoader 0.2 kernel in the control panel, but the server boots with:
2.6.32-696.18.7.el6.x86_64
I’ve changed /etc/grub.conf so it specifies the 20.1 kernel:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-696.20.1.el6.x86_64)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-696.20.1.el6.x86_64 ro root=UUID=59e3d92c-67e1-4cc4-bc90-76123b617391 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-696.20.1.el6.x86_64.img
What I am I missing? Why won’t it boot to 2.6.32-696.20.1 or 2.6.32-696.16.1?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi guys,
look at this on superuser.com:
https://superuser.com/questions/1295441/how-do-i-upgrade-my-kernel-in-centos-6-to-the-latest-version
I’ve tried to manually erase the old kernel on a test server and then rebooted, it worked ;)
I’ve also manually deleted the old kernel entry on /etc/grub.conf
So in your case:
rpm --erase kernel-2.6.32-431.1.2.0.1.el6.x86_64
shutdown -r now
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.