LinuxQuestions.org
Review your favorite Linux distribution.
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 07-16-2003, 11:55 PM   #1
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Installing new kernel with rpm on redhat


I wanted to install an updated kernel on my redhat systems 8 and 9. i gave the command:
rpm -Uvh kernel-2.4.20-18.9.src.rpm.

then it looked as if it was installing by showing:
1 kernel: ############################# 100%

then it just went back to the command prompt. I checked /etc/src to see if the sourc code was there, it was not. I ran rpm -qa it did not show up, i checked grub.conf and there was no change. Can someone please tell me where I'm going wrong?
 
Old 07-17-2003, 01:52 AM   #2
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
Have you checked /usr/src/redhat/SOURCE ?
 
Old 07-17-2003, 01:59 AM   #3
Bill_Tür
Member
 
Registered: Jul 2003
Location: Germany
Distribution: RedHat
Posts: 44

Rep: Reputation: 15
Well you installed the kernel source not a kernel. (src.rpm) Unless you want to compile your own kernel you don't need the source.

Download the prober *.rpm package and do a
rpm -ivh kernel-2.4.20-18.9.rpm
Never use -uvh!! Since this replaces your old kernel with new one.
Then edit Lilo or grub whatever you have to boot the new kernel.
Reboot.
Done.
 
Old 07-17-2003, 03:09 AM   #4
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
I use up2date to update my kernel. It does everything for you!
 
Old 07-17-2003, 06:10 AM   #5
Medic6666
Member
 
Registered: Mar 2003
Location: London, UK
Distribution: RedHat 9.0 + Win2k not dual boot
Posts: 73

Rep: Reputation: 15
ahhh but....

the only problem with up2date is that you have to wait for redhat to post it.

If you download the source and compile it yourself you get the new version sooner.

I compiled once and saw no speed difference so now I wait for Redhat to post it and I get it from them.

If it all goes well compiling is great to know. If it goes wrong...start running


good luck

Medic6666
 
Old 07-17-2003, 07:14 PM   #6
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up

Thank you all for your help. I got a hold of kernel-2.4.20-18.9.i686.rpm and i worked. It replaced my original kernel (which is ok) and managed to find kernel-source-2.4.20-18.9.i386.rpm that gave the source files. It took alot of hunting, but i finally got the right ones to work. coudn't do it without your suggestions.
 
  


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
Installing Majordomo using RedHat RPM mhabirami Linux - Newbie 1 11-10-2004 12:39 AM
Installing MySQL in RedHat Linux 9.0 RPM mkrishnanand Linux - Software 1 03-19-2004 06:36 AM
Problem installing Apache 2.0.47 RPM on Redhat 9 linub Linux - Software 0 10-20-2003 06:04 PM
redhat 9 rpm of SRPMS not installing? pwalden Linux - Software 4 09-23-2003 05:49 AM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 05:50 AM

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

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