[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature request or how do I -a "Run Once" command in menu.lst
From: |
Allen Bolderoff |
Subject: |
feature request or how do I -a "Run Once" command in menu.lst |
Date: |
Mon, 05 Nov 2001 15:54:45 +1030 |
I would like to be able to create a file called run.once in /boot/grub/ and
have grub try to run it, and remove it after it tries it. (whether it succeeds
or fails it should not run it again)
I cannot find whether grub does or does not do this now, but obvious uses of
such a feature would be:
remote upgrading a kernel - we all know that if we upgrade the kernel on a
local system, everything will work fine, but the minute we try doing it
remotely, the kernel will not boot for whatever reason. this feature makes it
easy to try this kernel and get a newless clueby on the other end to just hit
reset when the kernel fails. - the less thinking they have to do the better.
another use, is for multiboot machines, so that you just do, echo default=1 >
/boot/grub/run.once; reboot to have the system unnatendedly boot that other
OS, when you need it to. saves having to wait around when doing so - for the
lazy people in the crowd :).
As I said, I have searched for mention of this feature, and have not been
successful, so IMHO this is currently not a feature. if it is, and I am wrong,
please point me in the right direction.
I have looked at fallback, but it appears that if the boot sequence dies after
grub lets go of control, then it is too late, and will boot the same kernel
that you only wanted to run once.
Thanks
Allen
--
-------------------------------------------------------------------------
Allen Bolderoff <address@hidden>
-------------------------------------------------------------------------
Register your domains here: http://harper.gist.net.au/domain.html
-------------------------------------------------------------------------
- feature request or how do I -a "Run Once" command in menu.lst,
Allen Bolderoff <=