LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-08-2008, 10:20 PM   #1
itik
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
Kernel update


Hi All,

I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm. I check my current version with

[root@localhost tmp]# uname -a
Linux localhost.localdomain 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

I install using

[root@localhost tmp]# rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm

I rebooted it but nothing happens because I check it with uname -a and it still the same above. I install the rpm again and it keeps on reinstalling.

Please help or any idea?

Thanks in advance.
 
Old 07-08-2008, 10:45 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Look in the /boot directory to see if there is a kernel image of the version that you want. Then check your boot loader to see if it is loading that image or if it is still loading the image that you have been using prior to the upgrade.

If your boot loader is loading an image with a generic name such as vmlinuz then see if that is a pointer or a regular file. If it is a pointer see if it is pointing to the old kernel image. If so then delete it and create a new pointer that points to the new image. If it is a regular file then delete is an copy the new kernel image to that file name.

Be prepared to boot a live Linux CD to fix anything that you might break.

Doing these things by hand is SO 20th century. Too bad this wasn't/couldn't be done using some nice GUI system administration tool.

Last edited by stress_junkie; 07-08-2008 at 10:49 PM.
 
Old 07-09-2008, 10:41 AM   #3
itik
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Original Poster
Rep: Reputation: 0
actually that was a wrong dowload, it should be in the rhn network so i download this instead kernel-smp-2.6.9-67.0.20.EL.x86_64.rpm.

and it works like a charm, no more edit of grub.conf, just verify it and reboot.
 
  


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
update -u Did Not Update Kernel Packages cmnorton Red Hat 1 03-15-2008 09:09 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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