Solved

Selecting dual boot options remotly.

Posted on 2003-11-04
1
252 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
1 Comment
 

Accepted Solution

by:
linuxsub earned 50 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

822 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