LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-24-2003, 07:35 PM   #1
sree_n7
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
Question Upgrading kernel..


Hi Currently i am using Red hat linux 7.2.
The kernel version is:2.4.7-10
I would like to update the kernel to the latest version 2.4.18-19. How can i best achieve this.Any help is appreciated.

TIA
 
Old 01-24-2003, 08:38 PM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
I assume you're talking about the 2.4.18-19.7.x RPM kernels produced by RedHat themselves?

Here's what I do:

FTP all the files in the updates/7.2/en/os/i386 dir from RedHat or a mirror site and also the i586, i686 or other CPU specific dirs.

Then rpm upgrade all the files except any kernel RPMs or GLIBC rpms:

# rpm -Fvh `ls | grep -v glibc | grep -v kernel`

All those packages will upgrade if they're already installed. Lots of security and bug-fix updates released by RedHat, install them...

Now, install the appropriate glibc rpms and kernel rpms.

# rpm -Fvh glibc-2.2.4-31.i686.rpm etc...
(As a for instance.. There are i386 and i686 compiled RPMs of glibc-2.2.4-31 and if you have a P2 or greater the i686 compiled one will be faster)

# rpm -ivh kernel-2.4.18-19.7.x.i686.rpm and also the kernel-doc, kernel-headers and kernel-utils if they're needing upgraded.

If you use GRUB boot loader there will already be an entry in grub.conf and a reboot now will have this new kernel as a selectable option. If you use LILO you'll have to edit lilo.conf and add entries for this kernel and then make sure you run /sbin/lilo afterwards to write that info to the boot sector of the drive.

PS. For 7.2 there is also an openssl RPM that has both i386 and i686 versions. Install only the appropriate one for your CPU... There are also RPMs produced by RedHat for ia64, Athlon and others.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 07:21 PM
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 08:00 AM
upgrading kernel from 2.4.20-8 to 2.6.4 mandelchan Linux - Laptop and Netbook 3 04-21-2004 01:00 AM
Upgrading the kernel TX_metalhead Linux - Software 3 05-06-2002 12:23 PM
Upgrading the kernel goochable Linux - General 1 04-11-2001 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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