LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2003, 02:21 AM   #1
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
how to kernal upgrade on redhat 9


hello

every one

i just download kernel-2.4.20-20.9.i686.rpm fiel from http://ftp.redhat.com/pub/redhat/lin.../9/en/os/i686/

On site some more following files are available did i download proper file or will have to download any other file for kernal upgradation.

kernel-bigmem-2.4.20-20.9.i686.rpm 18-Aug-2003 12:13 13.9M
kernel-smp-2.4.20-20.9.i686.rpm 18-Aug-2003 12:13 13.9M
nptl-devel-2.3.2-27.9.i686.rpm 09-Apr-2003 12:14 809k
openssl-0.9.7a-20.i686.rpm 29-Sep-2003 10:27 1.1M

if this is proper file please guied me how to upgrade kernal my distro is redhat 9 and current kernal 2.4.20-8

in my view i think command is rpm -U kernel-2.4.20-20.9.i686.rpm

but i realy dont know proper way.

thanks
regards
 
Old 10-28-2003, 03:58 AM   #2
davel75
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Hi,

Your kernel download URL is truncated so I can't make any comment on that however assuming you are running a pentium class intel box (hence the i686 kernel) then you are almost correct...

Use:
rpm -ivh kernel-2.4.20-20.9.i686.rpm

-i rather than -U so that you install a new kernel rather then upgrade your current one. This way, rpm will update your boot loader and if the new kernel doesn't work then you can still boot the old kernel. -vh = verbose with hash marks for status.

If you're short of space, one you are sure that the new kernel works you can uninstall the old kernel using rpm -e.

if you want to boot the new kernel by default, edit your bootloader file (/etc/grub.conf if you're using grub) to specify the correct default kernel (1st stanza = 0 not 1).

Good luck!

Dave

PS - the 'up2date' utility can do this for you and is well worth looking at. Run the command 'up2date' or go to
http://www.redhat.com/software/rhn/update/
 
Old 10-28-2003, 04:00 AM   #3
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
do an 'rpm -ivh newkernel.rpm' first. reboot and use it. if everything works fine on your system, stick with it. if you have probles, revert to the old one.

try using 'up2date kernel'.

you might not need bigmem and smp kernels - they are for production and multi-processor servers.
 
Old 10-28-2003, 05:23 AM   #4
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello
thanks for urs reply, before urs urs reply i try this following command.
rpm -U kernel-2.4.20-20.9.i686.rpm

and aftre reboot , linux come in xwindows and no error and with thsi command: uname -r its retun latest kernal version
2.4.20-20.9
what does mean, is it ok and updatet or still i will have to use
rpm -ivh kernel-2.4.20-20.9.i686.rpm command.

thanks
 
Old 10-28-2003, 05:28 AM   #5
davel75
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Hi,

it looks as though it has worked. Your gamble has paid off.

-ivh is safer than -U as you have options if it doesn't work but it has worked so congratulations, you have upgraded your kernel.

Dave
 
Old 10-28-2003, 05:47 AM   #6
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Original Poster
Rep: Reputation: 30
hello

thanks its very nice that kernal has updated.
thansk all of you.
I also want to upgrade my xfree86, but on the download site i always confuse to seletc proper pakage , if some know please give me link of page where pakage is availble and specify proper downlaod file.
and also guied how to upgrade or install xfree86

thansk again for all of you
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernal upgrade? dvliam Linux - Newbie 2 06-15-2005 09:12 PM
RedHat 8 Kernal Upgrade Foobar`rh Linux - Newbie 1 02-23-2004 03:59 PM
Kernal upgrade - need IP now jeopardyracing Linux - Networking 1 01-06-2004 01:42 PM
Kernal Upgrade MrJoshua Linux - Software 2 04-08-2002 04:40 PM
How to upgrade kernal? dalianya Linux - General 3 02-15-2001 04:16 PM


All times are GMT -5. The time now is 06:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration