Portal Home > Knowledgebase > Articles Database > updating kernel on CentOS


updating kernel on CentOS




Posted by Lem0nHead, 03-02-2010, 07:09 PM
hello I'm using a very old version of CentOS 4, with kernel 2.6.9-34 when I do "yum upgrade kernel", it insists on keeping 2.6.9, but -89 I think is there a way to upgrade to 2.6.18 using yum or I'd need to compile manually? thanks

Posted by htbsales, 03-02-2010, 07:41 PM
It is not an exact match but this may work for you: http://www.tocpcs.com/yum-install-ce...4-to-centos-5/. There is never a substitute to a clean install but it should still get the job done. This has worked for me in the past.

Posted by Crothers, 03-02-2010, 07:56 PM
RHEL Kernel for version 4 is 2.6.9 with backported patches from higher versions. If you want a newer kernel you either have to do a custom kernel outside of the RHEL kernel, or you have to upgrade to a newer version of CentOS.

Posted by The Universes, 03-02-2010, 09:28 PM
Is there something in certain you need that is in the 2.6.18 or newer kernel?

Posted by Lem0nHead, 03-03-2010, 11:50 AM
thanks @The Universes: yes, I'm trying to compile a webcam driver that apparently just works from .11+

Posted by Lem0nHead, 03-03-2010, 12:00 PM
I just tried to follow that, but I probably shouldn't have removed dependencies when removing hal: # ls -bash: /bin/ls: No such file or directory now I guess it's time for a reinstall

Posted by whmcsguru, 03-03-2010, 01:10 PM
Nonsense. /bin/ls is back. Any other issues, try then no reinstall needed. Linux != Windows

Posted by Lem0nHead, 03-03-2010, 02:09 PM
ls is not the uninstalled file yum is also one of them so are compilers I guess I could download a statically compiled yum, but not sure how stable the system will be after all

Posted by jon-f, 03-03-2010, 02:42 PM
check /etc/yum.conf and make sure python or other needed packages are not excluded



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Centos 6 / won't wget? (Views: 817)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.