LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > deep27ak
User Name
Password

Notices


Rate this Entry

kernel upgradation or change in RHEL

Posted 01-24-2012 at 04:46 AM by deep27ak
Updated 08-18-2012 at 04:02 AM by deep27ak

For more Linux based tutorials My BLOG

chek your version of kernel
Code:
#rpm -qa | grep kernel
go to your repository location as I have mine inside yum directory
Code:
#rpm -ivh /yum/kernel-2.6.18-8.el5.i686.rpm
you will find two entries in your grub.conf
Code:
#vi /boot/grub/grub.conf
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-8.el5
        module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-8.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
        root (hd0,0)
        kernel /boot/.gz-2.6.18-8.el5
        module /boot/vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-8.el5.img
change the
Code:
default=1 ---> default=0
and boot your OS and if your machine boots up properly
then remove the old kernel

Code:
#rpm -e kernel-2.x.x.xel5.rpm
Posted in Uncategorized
Views 2720 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



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

Main Menu
Advertisement
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