LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Choosing your OS on wake on lan (wol) (https://www.linuxquestions.org/questions/linux-software-2/choosing-your-os-on-wake-on-lan-wol-557456/)

footloose 05-29-2007 10:32 AM

Choosing your OS on wake on lan (wol)
 
My main computer is running Mandriva 2007.
My other computer can boot either Windows XP or Kubuntu (7.04)

I've been using the other computer via VNC using WOL, wake on lan, successfully with Windows XP.

What I would like to do is choose between XP and Kubuntu at the startup.

I don't want to run a VM of either on the other, it's not a slow computer for what I use it for but I wouldn't like to lose any performance.

Perhaps I should be asking this question in the Networking sub-forum?

IsaacKuo 05-30-2007 04:20 PM

I don't know if there is a clever solution, but I do know an ugly solution. You can create a FAT partition for GRUB to boot with. The reason to use FAT is so that it's easy to edit the files on it from either Windows or Linux.

You have 3 copies of GRUB's menu.lst. One is the "live" copy, named D:\grub\menu.lst. The other two are "backup" copies, one to boot up Kubuntu by default (D:\grub\kmenu.lst) and the other to boot up Windows XP by default (D:\grub\wmenu.lst).

You then include a couple batch script icons in both Windows and Kubuntu to choose the next operating system to boot up next time. This means a total of four icons.

For example, in Windows you could have an batch script named kubuntu.bat with the following contents:

echo "Setting Kubuntu to boot"
copy d:\grub\kmenu.lst d:\grub\menu.lst

jtshaw 05-30-2007 07:48 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue this here.


All times are GMT -5. The time now is 01:54 PM.