[PATCH] Re: lilo -R equivalent in grub?

P at draigBrady.com P at draigBrady.com
Wed Dec 31 14:37:12 UTC 2003


Warren Togami wrote:
> I just learned about the awesome "lilo -R" command.  The man page says:
> 
> Does GRUB have anything similar to lilo's -R?  This is a totally useful 
> function and I would really like to avoid using lilo.

redhat's grub has a patch that implements (but doesn't document)
the --once option to the savedefault command.

Note there is a problem with the "savedefault --once" functionality
I think. The default entry and "once only entry" are not independent,
and so after a "once only boot" the default entry will be reset to 0.
I can't see how that would ever be required (especially
if the "once only entry" is also 0).

I've modified the patch to make these independent so you
don't loose your previous default entry.

could this be applied?

http://www.pixelbeat.org/patches/grub-0.93-once.diff

cheers,
Pádraig.





More information about the fedora-devel-list mailing list