[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: lilo -R equivalent in grub?
- From: Sean Estabrooks <seanlkml rogers com>
- To: fedora-devel-list redhat com
- Subject: Re: lilo -R equivalent in grub?
- Date: Wed, 31 Dec 2003 09:10:53 -0500
On Tue, 30 Dec 2003 21:57:55 -1000
Warren Togami <warren togami com> 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.
>
Hi Warren,
Yes grub has the "--once" option to savedefault:
savedefault --default=N --once
used in the grub shell.
Sean
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]