Selecting dual boot options remotly.

I have 3 machines
1 dual boot linux and winXP
one dual boot 2 win XP

both of these machines are controled remotly from a single machine.  
what i need to do is send a command to either machine and reboot it.
Now for the tricky part, i need to also be able to select which OS from
from the dual boot i want to boot to. Sometimes i need to boot to linux
some times i need to boot to xp.
anyone have any ideas?
LVL 2
djohnson104Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

linuxsubCommented:
Yep, I'm full of ideas :-).

Coming to your problem,
Are you rebooting the machine by remotely logging into the machine? Or through those smart ethernet cards which can power up the machine for you?

If it is the first, then you are saved (partially). You just  need the electronic thumb as the Earth is soon going to be destroyed for macing the galactic bypass (jk).

Okay, so do this. Install grub for dual boot. Grub needs a file called grub.conf  that has a pointer to select which OS to boot by default. Create multiple copies of grub.conf making each OS you have as default one.  Overwrite the grub.conf with the default os as next one you want to boot to before rebooting.

Now, the grub.conf file will remain on only one partition belonging to one of the OSes. What you'll have to do is, mount only that partition to all other OSes so that you can change it.

I guess you can do all of these from a script  (that you can invoke remotely) on individual oses. I did this once , and it works perfectly between FreeBSD and Linux.

Caveat: I have no clue how you can mount a linux partition on WinXP, or script such things out,if that is one of your OS options. You know, in general, Windoze Sucks. In the worst case, check if Cygwin has any way of mounting Linux/Unix partition on XP.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.