Solved

Selecting dual boot options remotly.

Posted on 2003-11-04
1
250 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
Comment Utility
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 You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now