LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2004, 08:35 AM   #1
hanserr
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
Question 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
 
Old 02-09-2004, 09:06 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
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
 
Old 02-09-2004, 09:14 AM   #3
hanserr
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Question 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
 
Old 02-27-2004, 06:01 AM   #4
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
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
 
  


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
grub.conf and kernel panic...GGGRRRRRRR 10xOXR Linux - Newbie 2 01-28-2005 04:25 PM
Is there a way to change which kernel/os boots without modifying grub.conf? niverson Linux - Software 2 01-05-2005 05:14 PM
Two types of kernel displayed in grub.conf RaVilj Red Hat 3 06-18-2004 08:00 PM
grub.conf and Kernel Panic!! phekno Linux - Software 4 10-16-2003 12:08 AM
Grub.conf - Kernel Panic. liguorir Linux - Software 2 06-29-2003 02:03 PM


All times are GMT -5. The time now is 06:28 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