?
Solved

Selecting dual boot options remotly.

Posted on 2003-11-04
1
Medium Priority
?
259 Views
Last Modified: 2010-05-18
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
Comment
Question by:djohnson104
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
linuxsub earned 200 total points
ID: 9683672
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question