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

Re: lilo -R equivalent in grub?



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".
 
-- 

Attachment: pgp00206.pgp
Description: PGP signature


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