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

lilo -R equivalent in grub?



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.

Warren




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