[WBEL-users] Remote Control of Dual Boot Options

John Morris jmorris@beau.org
Mon, 22 Dec 2003 13:13:56 -0600 (CST)


On Sun, 21 Dec 2003, TASIS IT Office wrote:

> I am looking for a way to switch machines between Windows and Linux -- I
> would like to control which it boots.  I would like to ssh (or go to a
> local machine) and tell it which OS to boot next.  I would like to be
> able to do this from both the Linux & windows side.  

The only way I can think of is to set the machine to always boot linux via
lilo.  Then when you want windows use the -R switch to lilo to set Windows
to start on the next boot and then reboot.  Since the -R only works on the
very next boot, after Windows shuts down and restarts Linux comes back.

Grub might also be able to do the same trick, but I haven't investigated
it enough to say.  I use the lilo -R trick (between two linux installs in
an automated reimaging system) though so I know it works.

-- 
John M.      http://www.beau.org/~jmorris        This post is 100% M$ Free!
Geekcode 3.1:GCS C+++ UL++++$ P++ L+++ W++ w--- Y++ b++ 5+++ R tv- e* r