Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 05-29-2007, 10:32 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
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?
Old 05-30-2007, 04:20 PM   #2
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,398
Blog Entries: 8

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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
Old 05-30-2007, 07:48 PM   #3
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wake on LAN DennyB Linux - Hardware 1 08-21-2007 07:27 AM
Help with WOL Wake on LAN Knight Templar Linux - Networking 3 07-19-2006 09:45 PM
wake on lan upload-3 Linux - Networking 2 06-12-2006 01:00 PM
wake on lan?? alaios Linux - Hardware 2 08-10-2004 01:04 PM
wake-on-lan PlatinumRik Linux - Hardware 1 04-09-2003 03:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration