LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-28-2006, 01:05 AM   #1
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Rep: Reputation: 15
kernel upgrade


Hello
My system has linux enterprise advance server version 3.0.Having the kernel 2.4.21-4 now I want to upgrade the kernel to version 2.4.21-9.0.1.EL .Can any body please help me out,how to upgrade to this version.As I am new user, the brief procedure is highly accepted.
Thanx
 
Old 05-28-2006, 01:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
download the RPM for the new kernel. open a terminal, change to the root. run "rpm -ivh /path/to/kernel-2.4.21.etc.blah.rpm". done
 
Old 05-28-2006, 01:55 AM   #3
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Original Poster
Rep: Reputation: 15
from where I find the rpm for that kernel

Quote:
Originally Posted by acid_kewpie
download the RPM for the new kernel. open a terminal, change to the root. run "rpm -ivh /path/to/kernel-2.4.21.etc.blah.rpm". done
I got ur answer but from which site i download the kernel u r talking about
 
Old 05-28-2006, 01:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you would get it via your Redhat Network subscription
 
Old 05-28-2006, 02:10 AM   #5
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Original Poster
Rep: Reputation: 15
kernel upgrade

[QUOTE=acid_kewpie]you would get it via your Redhat Network subscription[/QUOTE
Is there any way to get it directly
 
Old 05-28-2006, 02:39 AM   #6
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
can u google? ofcourse you can! what do u need? keywords? try "kernels" or better "upgrade kernel".
 
Old 05-28-2006, 02:47 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by Ibrahimbazar
you would get it via your Redhat Network subscription[/QUOTE
Is there any way to get it directly
You're using RHAS3, which implies enterprise level mission critical servers... you do have an RHN subscription right????
 
Old 05-28-2006, 02:48 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by prozac
can u google? ofcourse you can! what do u need? keywords? try "kernels" or better "upgrade kernel".
No STFW's please.
 
Old 05-28-2006, 02:51 AM   #9
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by prozac
can u google? ofcourse you can! what do u need? keywords? try "kernels" or better "upgrade kernel".
This document help me very much and thanx to u as well

Useful Links:
Support Store Download Article ID: Main Site Links:
Home Enterprise Linux Training Red Hat Network Truth Happens Fedora Worldwide Asia Pacific Belgium China France Germany Hong Kong India Italy Japan Korea Latin America Luxembourg Netherlands South Africa Spain Sweden United Kingdom Links for this section:
Knowledgebase
Service Agreements
Offerings
Security
Documentation
Links for this sub-section:
Product Support Guide

Technical Mailing Lists

Related Links
Red Hat Enterprise Linux
Stronghold Secure Web Server
Red Hat Network
Professional Consulting
Bugzilla





Get Connected to Red Hat Network.
Get Up-to-Date.
Get Secure.
Red Hat Knowledgebase
Red Hat Knowledgebase Search:
Updated Within the Last: Browse by topics: Browse Top Solutions in: ----------------- All areas General Linux >Get Started >Customer Service >Samba >Printing >Display >Web/FTP/Networking >MySQL & PostgreSQL Databases Red Hat Enterprise Linux >AS/ES/WS Basics >AS/ES/WS v. 2.1 >AS/ES/WS v. 3 >AS/ES/WS v. 4 >Installation >Configuration >Security >SELinux >Networking >Web Server >Mail Server >Logical Volume Manager (LVM) >Performance >Applications >Hardware >s390 >iSeries, pSeries, xSeries Red Hat Applications >Application Server >Cluster Suite >Global File System (GFS) >Certificate System >Directory Server >Developer Suite >Content Management System Red Hat Network >General >RHN Proxy Server >RHN Satellite Server >RHN Monitoring Red Hat Programs >Academic Editions >Global Education Program Red Hat Archives >Red Hat Linux 9/8.0/7.x
Red Hat Network > General > Issue << 14 of 176 >>Solution Tools:



Article Reference
Article ID: 2599
Last update: 05-11-06 Issue:
How do I use the up2date agent to upgrade my kernel from Red Hat Network (RHN)?Resolution:If your system is registered with Red Hat Network (RHN), then you can use the up2date agent to download and install the latest kernel available on your subscribed channel. You can use the up2date command as follows:
up2date -f kernel
-or-
up2date -f kernel-smp
In order to find what kernel you have installed, you can run
rpm -qa | grep kernel
This will return every rpm package installed that has the term 'kernel' in it. Here is an example:


# rpm -qa | grep kernel
kernel-2.4.21-9.EL
kernel-2.4.21-9.0.1.EL
kernel-2.4.21-4.EL
kernel-smp-2.4.21-9.0.1.EL
kernel-smp-2.4.21-4.0.1.EL
kernel-pcmcia-cs-3.1.31-13
kernel-source-2.4.21-9.0.1.EL
kernel-2.4.21-4.0.1.EL
kernel-utils-2.4-8.37.1
kernel-smp-2.4.21-4.EL
kernel-smp-2.4.21-9.EL



On this particular system, I have both the kernel and the kernel-smp RPM's installed. You may have kernel, kernel-smp, or both packages installed depending on your system hardware and requirements.

Here is an example of using up2date to upgrade a kernel, first I check the available updates with up2date -l, then I update the system with the convention up2date -f package_name(s):

# up2date -l

Fetching package list for channel: rhel-i386-as-3...
########################################

Fetching Obsoletes list for channel: rhel-i386-as-3...
########################################

Fetching rpm headers...

Name Version Rel
----------------------------------------------------------

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
kernel 2.4.21 9.0.3.ELPkg name/pattern
kernel-smp 2.4.21 9.0.3.ELPkg name/pattern
kernel-source 2.4.21 9.0.3.ELPkg name/pattern


# up2date -f kernel kernel-smp kernel-source

Fetching package list for channel: rhel-i386-as-3...
########################################

Fetching Obsoletes list for channel: rhel-i386-as-3...

Name Version Rel
----------------------------------------------------------
kernel 2.4.21 9.0.3.EL i686
kernel-smp 2.4.21 9.0.3.EL i686
kernel-source 2.4.21 9.0.3.EL i386


Testing package set / solving RPM inter-dependencies...
########################################
kernel-2.4.21-9.0.3.EL.i686 ########################## Done.
kernel-smp-2.4.21-9.0.3.EL. ########################## Done.
kernel-source-2.4.21-9.0.3. ########################## Done.
Preparing ########################################### [100%]

Installing...
1:kernel-source ########################################### [100%]
2:kernel ########################################### [100%]
3:kernel-smp ########################################### [100%]






Note: You have to use the -f option because the kernel is in the skip list by default. You can combine packages in the up2date command, but you cannot use the * as a regular expression in this notation to get all packages that begin with, say, kernel-*.

The next step is to reboot your system in order to use the new kernel. This method will keep the old kernel installed so if there are any problems you have the safety net of booting to an older kernel. Your grub.conf and lilo.conf files should be updated, but you could always verify these by looking at the contents of those files before and after the up2date command is run.

The information provided in this document is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

© 2003-2006 Red Hat, Inc. All rights reserved. This article is made available for copying and use under the Open Publication License, v1.0 which may be found at http://www.opencontent.org/openpub/.


How well did this entry answer your question?



Related SolutionsWhat RPM update package (yum, up2date, etc) would be better to update RPM's on Red Hat Enterprise Linux 3?
Other Users Also ViewedHow do I download the upgraded kernel in Red Hat Enterprise Linux?
How do I activate power management or Advanced Power Management (APM) on my system?
Can I use up2date to update a system that is running a recompiled kernel?
Red Hat Network > General > Issue << 14 of 176 >>
Copyright © 2006 Red Hat, Inc. All rights reserved.
Privacy Policy : Terms of Use : Patent promise : Company : Contact
Log in to Your Account
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
pacman -Su, kernel upgrade, kernel panic, change distro? jkh Arch 35 03-10-2006 01:14 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 09:53 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:57 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