LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updating Grub.conf With New Kernel (https://www.linuxquestions.org/questions/linux-newbie-8/updating-grub-conf-with-new-kernel-144017/)

hanserr 02-09-2004 07:35 AM

Updating Grub.conf With New Kernel
 
I recently installed RH9 & applied all the necessary updates from up2date. One of the installs included an updated kernel...Basically, know when I boot grub displays two kernel versions. Can I just update grub.conf to remove reference to the older kernel? Do I even need it? Thanks, Rick

jkobrien 02-09-2004 08:06 AM

I usually leave old kernels there for a week or two to make sure that the new kernel is ok. It always is, but I regard it as a bit like backing up your data - as soon as you don't do it is when you'll have a problem.

After that you can delete the relevant lines from grub.conf and delete the older kernel from /boot (be careful!!!!).

John

hanserr 02-09-2004 08:14 AM

Can I Comment It Out?
 
Being a newbie, I'm a little skittish about working with vi right now. Can I just comment the old kernel out? What can I say, I'm a really anal sysadmin. Thanks, Rick

jkobrien 02-27-2004 05:01 AM

Hi,

Sorry to be so slow replying - I had disabled email notifications from the board without realising.

You've probably resolved this by now, but yes you can just comment out the lines. Also you can make backup copies of the file!

John


All times are GMT -5. The time now is 02:44 AM.