LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2011, 03:09 PM   #1
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
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._
 
Old 08-02-2011, 07:08 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
1 members found this post helpful.
Old 08-10-2011, 06:16 PM   #3
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chrism01 View Post
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.
 
Old 08-10-2011, 07:35 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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/

Last edited by John VV; 08-10-2011 at 07:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the kernel version required for installing NFS4 (RHEL) lxnbie Linux - Newbie 1 05-05-2011 10:05 PM
Kernel panic on first boot after installing RHEL 6 kotoro Red Hat 3 03-16-2011 09:19 AM
RHEL 4 Installing Hugemem kernel AH_GrayJr Linux - Enterprise 1 02-25-2009 04:46 PM
RHEL AS 4 update 4 kernel panics when installing on IBMx3650 aomary Linux - Newbie 2 10-06-2008 12:13 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM


All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration