lilo -R equivalent in grub?
Michael Schwendt
ms-nospam-0306 at arcor.de
Wed Dec 31 15:30:55 UTC 2003
On Tue, 30 Dec 2003 21:57:55 -1000, Warren Togami wrote:
> I just learned about the awesome "lilo -R" command. The man page says:
>
> -R command line
> This option sets the default command for the boot loader the next
> time it executes. The boot loader will then erase this line: this is
> a once-only command. It is typically used in reboot scripts, just
> before calling ___shutdown -r___.
>
>
> This allows you to test new kernels on remote servers, and it will
> revert back to the lilo.conf default during the next boot. A regular
> reboot, remote power cycle, or passing 'panic=10' kernel option which
> reboots upon panic would fallback to the previous default.
>
> Does GRUB have anything similar to lilo's -R? This is a totally useful
> function and I would really like to avoid using lilo.
>
> If this functionality is truly missing from GRUB then this is another
> project for me.
Scan the grub spec changelog for the savedefault --once "hack".
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20031231/88853bf4/attachment.sig>
More information about the fedora-devel-list
mailing list