• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

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?
0
djohnson104
Asked:
djohnson104
1 Solution
 
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

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now