LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to kernal upgrade on redhat 9 (https://www.linuxquestions.org/questions/linux-software-2/how-to-kernal-upgrade-on-redhat-9-a-109360/)

mobassir 10-28-2003 01:21 AM

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

davel75 10-28-2003 02:58 AM

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/

born4linux 10-28-2003 03:00 AM

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.

mobassir 10-28-2003 04:23 AM

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

davel75 10-28-2003 04:28 AM

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

mobassir 10-28-2003 04:47 AM

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


All times are GMT -5. The time now is 06:36 AM.