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: Fri, 25 Jun 2004 17:05:33 +0200
User-agent: Mutt/1.5.6+20040523i

On Fri, Jun 25, 2004 at 05:06:56PM +0200, Yoshinori K. Okuji wrote:
> On Friday 25 June 2004 16:07, Robert Millan wrote:
> > How do you tell grub to boot a particular entry only _once_ without
> > modifying menu.lst manualy? As I understand it, grub-set-default sets
> > the default permanently. Perhaps we should add a FIFO list in
> > /boot/grub/default that GRUB pops from untill a terminator integer is
> > found (e.g. -1). What do you think?
> 
> I'm sorry, but I don't understand your question. Could you point out 
> what is bad in the procedures written in the manual?

My fault, I missed some context. The Debian version of GRUB includes one of
those patches that added support for --once by embedding a once_only bit in
stage files. Based on this, I wrote a "grub-reboot" script that mimics
"lilo -R" functionality.

Since setting up GRUB to boot a particular option once, then fallback to
default requires editing menu.lst, grub-reboot can't now be implemented
gracefuly.

I think some sort of interface like that in /boot/grub/default would be
quite adequate. It could also allow for testing a list of kernels untill
default is reached.

-- 
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)




reply via email to

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