Grub question

2008-04-18 Thread P. Larry Nelson

Here's what I assume to be a simple grub question

On one of my systems, /boot is getting quite full with all the
kernel updates and I'd like to delete most of the old ones,
keeping a couple of the most recent ones.  Does one then need
to delete the corresponding lines for the deleted kernels in
grub.conf?

Does anything have to be done after that so grub is aware, like
one had to do with the old lilo.conf, i.e., run lilo after any
changes that were made?

Thanks!
- Larry
--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL  | Physics Dept., Univ. of Ill.
MailTo:[EMAIL PROTECTED]| http://www.roadkill.com/lnelson/
---
 Information without accountability is just noise.  - P.L. Nelson


Re: Grub question

2008-04-18 Thread Steve Gaarder

On Fri, 18 Apr 2008, P. Larry Nelson wrote:


On one of my systems, /boot is getting quite full with all the
kernel updates and I'd like to delete most of the old ones,
keeping a couple of the most recent ones.  Does one then need
to delete the corresponding lines for the deleted kernels in
grub.conf?


You don't need to, but you might as well - if you try to boot a kernel 
that isn't there, it will fail.


Does anything have to be done after that so grub is aware, like
one had to do with the old lilo.conf, i.e., run lilo after any
changes that were made?


No, Grub picks up the changes on the fly.

Steve Gaarder
System Administrator, Dept of Mathematics
Cornell University, Ithaca, NY, USA
[EMAIL PROTECTED]


Re: Grub question

2008-04-18 Thread Mark Stodola

Larry,

You can just delete the entries from grub.conf, no commands need to be 
run after that.
You also might be interested in the installonlyn (I think that is the 
name) yum plugin.  It lets you limit how many old kernels to keep installed.


Cheers,
Mark

P. Larry Nelson wrote:

Here's what I assume to be a simple grub question

On one of my systems, /boot is getting quite full with all the
kernel updates and I'd like to delete most of the old ones,
keeping a couple of the most recent ones.  Does one then need
to delete the corresponding lines for the deleted kernels in
grub.conf?

Does anything have to be done after that so grub is aware, like
one had to do with the old lilo.conf, i.e., run lilo after any
changes that were made?

Thanks!
- Larry



--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


Re: Grub question

2008-04-18 Thread P. Larry Nelson

Jan Kundrát wrote on 4/18/2008 10:52 AM:

P. Larry Nelson wrote:

Here's what I assume to be a simple grub question


OT: please don't click reply when you have a question that isn't
realted to previous message, it breaks message threading.


Really!!  How bizarre!  I changed the subject so it wouldn't be part
of a previous thread.  I always use reply since it fills in the To:
address, which is easier than typing it in and possibly making a mistake.

I apologize to the list but don't understand why, if I changed the subject,
it would be part of a previous thread.  I always thought threads keyed
off the subject line, and I've been using email since it was invented
back in the 70's.

Oh well - learn something new every day

Thanks!
- Larry
--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL  | Physics Dept., Univ. of Ill.
MailTo:[EMAIL PROTECTED]| http://www.roadkill.com/lnelson/
---
 Information without accountability is just noise.  - P.L. Nelson


Re: Grub question

2008-04-18 Thread Jeffrey D Anderson
On Friday 18 April 2008 8:54:02 am Mark Stodola wrote:
 Larry,

 You can just delete the entries from grub.conf, no commands need to be
 run after that.
 You also might be interested in the installonlyn (I think that is the
 name) yum plugin.  It lets you limit how many old kernels to keep
 installed.

 Cheers,
 Mark

 P. Larry Nelson wrote:
  Here's what I assume to be a simple grub question
 
  On one of my systems, /boot is getting quite full with all the
  kernel updates and I'd like to delete most of the old ones,
  keeping a couple of the most recent ones.  Does one then need
  to delete the corresponding lines for the deleted kernels in
  grub.conf?
 
  Does anything have to be done after that so grub is aware, like
  one had to do with the old lilo.conf, i.e., run lilo after any
  changes that were made?
 
  Thanks!
  - Larry

It's been my experience that the entries in grub.conf get automatically 
removed as long as you use rpm (or yum) to remove the old kernels.  I don't 
know at what release this started, but it has been true for a long time now.

-- 
--
Jeffrey Anderson| [EMAIL PROTECTED]
Lawrence Berkeley National Laboratory   | 
Office: 50A-5104E   | Mailstop 50A-5101
Phone: 510 486-4208 | Fax: 510 486-6808


Re: Grub question

2008-04-18 Thread Akemi Yagi
On Fri, Apr 18, 2008 at 9:06 AM, P. Larry Nelson [EMAIL PROTECTED] wrote:
 Jan Kundrát wrote on 4/18/2008 10:52 AM:

  P. Larry Nelson wrote:
 
   Here's what I assume to be a simple grub question
 
  OT: please don't click reply when you have a question that isn't
  realted to previous message, it breaks message threading.

  Really!!  How bizarre!  I changed the subject so it wouldn't be part
  of a previous thread.  I always use reply since it fills in the To:
  address, which is easier than typing it in and possibly making a mistake.

  I apologize to the list but don't understand why, if I changed the subject,
  it would be part of a previous thread.  I always thought threads keyed
  off the subject line, and I've been using email since it was invented
  back in the 70's.

  Oh well - learn something new every day

Changing the Subject line does not start a new thread.  However, some
mail client (gmail for example) starts a new conversation if the
subject is changed.  So, those who are using the mail software with
this behavior would not notice hijacking of this type.

Akemi


Re: Grub question

2008-04-18 Thread Matthias Schroeder

P. Larry Nelson wrote:


I apologize to the list but don't understand why, if I changed the subject,
it would be part of a previous thread.


The header has a in-reply-to field, and a references field. They are 
used for the threading.



I always thought threads keyed
off the subject line,


That would be much too simple.


and I've been using email since it was invented
back in the 70's.

Oh well - learn something new every day


Keep it like that ;)

Matthias



Thanks!
- Larry