bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making your system robust


From: Robert Millan
Subject: Re: making your system robust
Date: Tue, 29 Jun 2004 19:45:22 +0200
User-agent: Mutt/1.5.6+20040523i

On Tue, Jun 29, 2004 at 12:44:00PM +0200, Yoshinori K. Okuji wrote:
> On Monday 28 June 2004 16:02, Robert Millan wrote:
> > Uhm. I think it's quite hard to support all possible variations of
> > menu.lst in a script that sets the proper setdefault options, while
> > ensuring there's no collateral effect. Do you have a particular
> > scheme in mind for modifying it from the script?
> 
> It's quite trivial for me. Here is an example to set up a menu.lst (not 
> complete or not tested):

Well, that would work. But still looks overkill, and having to remove the
file through init.d is not very reliable. For example if you boot in single
user it won't take effect. I think it should be grub itself who recovers to
the normal estate after booting a new entry just once.

I'm attaching a patch that does this in stage2. I think it's a cleaner
solution. Please have a look and tell me what you think (Again, not tested
or complete ;)

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)

Attachment: grub_savedefault.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]