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

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to