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