Remote Boot Manager Scripting (Python)

D

diffuser78

I just started to write a small project in Python. I was wondering if
there can be something like remote boot manager.

I have to remotely start a computer. It has dual boot (WinXP and
Linux).
My remote computer is Linux which will send command to remotely boot
the other computer.

Can we write python script or some utility which would let us select
the Operating System to boot ? For example If we send parameter "WIN"
it boots into Windows and if we send "NIX" it boots into Linux.

Every help is appreciated.

Thanks
 
D

Dieter Maurer

...
I have to remotely start a computer. It has dual boot (WinXP and
Linux).
My remote computer is Linux which will send command to remotely boot
the other computer.

Can we write python script or some utility which would let us select
the Operating System to boot ? For example If we send parameter "WIN"
it boots into Windows and if we send "NIX" it boots into Linux.

Probably yes -- but it is rather a remote boot protocol
than a Python questions.

Your remote boot protocol must in some way specify which
os should be booted. When you implement the client site
boot protocol in Python and you know how to select the os,
then simply do it.


I can tell something about "grub" (GRand Unified Boot loader).
It can be configured to be controlled by a serial line.
In this case, the boot protocol would be very simple:
send "down" characters to the serial line until the correct
os is selected; then send a "return" to boot.

It would be trivial for a small Python script (with access to this
serial line) to implement this.


Dieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top