bug-grub
[Top][All Lists]
Advanced

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

Re: Patch for 'lilo -R' functionality


From: Paul Hedderly
Subject: Re: Patch for 'lilo -R' functionality
Date: Fri, 22 Feb 2002 12:55:15 +0000
User-agent: Mutt/1.3.27i

On Fri, Feb 22, 2002 at 12:09:21PM +0000, Keir Fraser wrote:
> The following is patch to grub-0.90 which provides one-shot setting of
> the default boot entry. If the 'savedentry' field in the stage2 file
> has a ONCEONLY flag set, the entry is reset to zero at boot time.
> 
> The 'savedefault' function has been rewritten for the GRUB shell, do
> that you can do something like:
>  # savedefault --default=1 --once
> This specifies a one-shot change of the default to entry 1. A one-shot
> entry is latched by the 'default' command at boot time, even if the
> 'default' argument is not specified (ie. one-shot overrides a numeric
> argument).
> 
> The patch is pretty clean -- it works perfectly against 0.91 as well
> (except the ChangeLog update). The rewritten 'savedefault' may need
> fixing up -- in particular, it will only patch a stage2 file which is
> accessible via a mounted filesystem.

FANTASTIC!!! I can't wait for that to go into the main tree.

That is the one lilo feature I've missed.
--
Paul



reply via email to

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