LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-23-2008, 05:23 PM   #1
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
boot XP via VMware thru Grub?


Hi

I have successfully installed VMware server on my Linux box and installed a XP guest O/S.

I can run XP from a terminal with "vmrun start /var/lib/vmware/virtual machines/XP" and all is okay, full screen, and VMware tools installed so the SVGA is fine.

It is absolutely brilliant. I would even say running XP through linux and vmware is FASTER than XP native....cannot believe it, dont know how, but it just seems much more responsive. ????

Anyway, is there anyway I can setup grub and linux to boot my VMware guest O/S from the GRUB boot menu. Like, I want the capability to boot a GRUB menu option called "XP" that actually boots linux, auto logs in, and runs my VMware guest XP O/S. Then, when I power down the XP guest O/S, the linux box shuts down.

Like I said above, I can accomplish this from the command line in linux, but I want this ability for my 6yr old daughter so that she is blisfully unaware linux is the primary O/S.

Thanks in advance.

This will take a REAL guru to resolve me thinks :-)
 
Old 02-23-2008, 05:39 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
No, but one can add the line to someplace like say the /etc/rc.d/rc.local file (CentOS). As for powering down the system when you shutdown the guest OS better to ask this in the VMware Communities;

http://communities.vmware.com/index.jspa
 
Old 02-23-2008, 05:43 PM   #3
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
yes, but the trouble with an /etc/rc.d/... update is that EVERYONE gets a XP guest O/S, booted when the box is powered on.

need to be a bit clever here...

I want my box to present an "XP" option at Grub, which actually boots linux then a virtual XP.

Its all in place, almost, just need some way of starting "two" systems from Grub, one real linux, and the other ... linux with a virtual XP guest.
 
Old 02-25-2008, 03:47 AM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
ANYBODY?

Is there anyone who knows how to do this...

To add clarity, I guess what I would like to do is...

1. Setup grub to add another option, say "Virtual XP".
2. Allow user to boot "Virtual XP"
3. Boot the option and load the kernel.
4. Start X, autologin and autostart VMware server to run my Virtualized XP.
5. When user closes VMware, the system reboots.

I already have VMware server installed, setup with XP installed as a virtual machine. This runs fine.

It is 1,2 and 5 that I'm not sure about.

Anyone?
 
  


Reply


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
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
How to set Grub not to auto boot any OS without Grub Boot menu shown ussr_1991 Linux - Software 2 09-01-2007 08:36 AM
VMWare XP and Grub dave0201 Linux - Software 7 01-20-2006 07:49 AM
GRUB Error 15 - VMWare stonereh Debian 6 09-13-2005 07:15 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:58 PM.

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