LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing a new kernel from source on RHEL 5 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-a-new-kernel-from-source-on-rhel-5-a-895143/)

fizeelinux 08-02-2011 02:09 PM

Installing a new kernel from source on RHEL 5
 
Hi all,

Could anyone please let me know on how to upgrade or install a updated kernel version (3.0).I am using RHEL 5 with kernel 2.6.18-8.I am trying to upgrade through source downloaded at http://www.kernel.org/.Also will it be a good practice to upgrade the existing kernel? Thanks in advance._

chrism01 08-02-2011 06:08 PM

Upgrading (actually it installs a new kernel) via the RHEL tool 'yum' should be fine.
iirc, it keeps up to 3 kernels listed as available in your grub.conf.
There's a setting somewhere where you can amend that limit.

Don't think I'd try building your own from scratch, as RH heavily modify the 'stock' kernel before distributing it.
You should read the Release notes for each kernel if you REALLY need a specific feature/bugfix.

fizeelinux 08-10-2011 05:16 PM

Quote:

Originally Posted by chrism01 (Post 4432048)
Upgrading (actually it installs a new kernel) via the RHEL tool 'yum' should be fine.
iirc, it keeps up to 3 kernels listed as available in your grub.conf.
There's a setting somewhere where you can amend that limit.

Don't think I'd try building your own from scratch, as RH heavily modify the 'stock' kernel before distributing it.
You should read the Release notes for each kernel if you REALLY need a specific feature/bugfix.

Thanks Chrism.I shall try to get the rpm for the kernel and do an upgrade via yum.

John VV 08-10-2011 06:35 PM

Quote:

Thanks Chrism.I shall try to get the rpm for the kernel and do an upgrade via yum.
what is to try , there is no need to "get" the kernel rpm
just run an update
Code:

su -
yum update

and if you still want the source for the current kernel
Code:

su -
yum install kernel-devel

you also might want to contact your paid for rhel support
https://www.redhat.com/support/
and read the red hat documentation
https://access.redhat.com/knowledge/...erprise_Linux/


All times are GMT -5. The time now is 07:36 AM.