General discussion

Locked

Kernal upgrade

By arupians ·
Can some tell me how to upgrade a Red Hat kernal ?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

The easiest way

by LordInfidel In reply to Kernal upgrade

go to redhat
http://ftp.redhat.com/pub/redhat/linux/updates

You want to download a RedHat kernel rpm, not a source rpm (srpm).

Or you can go to
http://www.rpmfind.net and type in kernel then search for your redhat version


Once you download it, run the following command
rpm -ivh <kernelPackageName.rpm>

After it is installed, edit grub or lilo to start with the new kernel. Do not erase the old entries.

Assuming this is rh9 and you have grub installed,
vi /boot/grub/grub.conf

change default=1 to default=0
this will load the new image that you just installed.

the shutdown -r now
and let it boot into your new kernel. If all is well then you can remove the old kernel image.

Don't try to upgrade your kernel from source just yet. Try your package making skills on silly stuff like apache before trying to upgrade your kernel from the source (kernel.org)

Back to IT Employment Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums