LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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, 06:08 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 05: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, 06:35 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 06:37 PM.
 
  


Reply



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 09:05 PM
Kernel panic on first boot after installing RHEL 6 kotoro Red Hat 3 03-16-2011 08:19 AM
RHEL 4 Installing Hugemem kernel AH_GrayJr Linux - Enterprise 1 02-25-2009 03:46 PM
RHEL AS 4 update 4 kernel panics when installing on IBMx3650 aomary Linux - Newbie 2 10-06-2008 11:13 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration