CentOS Kernel
Hey Guys,
When I run yum list installed command the output shows two kernels: Code:
kernel.i686 2.6.18-238.el5 installed Returns: 2.6.18-238.el5PAE Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original? |
Yes, it is safe to remove the one you're not using.
Question, do you have less than 4 GB of ram? If so, there is no advantage to keeping the PAE version. |
Quote:
CentOS was installed by the datacenter, so I have no idea how to change kernels. |
Assuming that you are using yum, it will make sure that
you have a kernel. If you delete the one you are currently using, it will select another one. So in this case you can just run "yum erase kernel-PAE" and it will automatically set up the existing kernel for you. It would be a good idea to reboot the server and early in the boot process you'll be able to select the kernel. Choose the non-PAE one to make sure that it works. You can then safely remove the PAE version. |
Quote:
|
Hey Guys,
Thanks for your help. I have now removed the -PAE kernel, although I did it a slightly different way as I don't have physical access to the machine. I found a thread on the CentOS forum where a user was switching from -xen back to base and used that for guidance. Edited: /boot/grub/grub.conf Removed: Code:
title CentOS (2.6.18-238.el5PAE) Edited: /etc/sysconfig/kernel Changed: Code:
# DEFAULTKERNEL specifies the default kernel package type Code:
# DEFAULTKERNEL specifies the default kernel package type Everything is up and running fine. |
Very cool. Thanks for letting us know that it worked!
|
All times are GMT -5. The time now is 05:06 PM. |