LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   using an already installed Windows XP under VMware server? (https://www.linuxquestions.org/questions/general-10/using-an-already-installed-windows-xp-under-vmware-server-434635/)

microsoft/linux 04-12-2006 07:26 PM

using an already installed Windows XP under VMware server?
 
I've got Windows XP already installed on my HD, as I was previously dual-booting. I just downloaded VMWare server, to play with it. Is it possible to make a VM w/ an already installed version of windows? I don't really want to remove windows entirely from my HD, but I don't have enought room to make another partition for a VM. Any way to do this? Could linux read and write to the disk on a VM?

slantoflight 04-12-2006 08:35 PM

Yea, absolutely. Vmware can actually boot off of physical harddrives and partitions. Theres no need to create a new partition at all.

microsoft/linux 04-12-2006 09:05 PM

can you explain how to do this? I tried to set it up as "Use Physical Disk" under the Custom heading, using the "Use Individual Partitions" radio button and /dev/hda1 as the device. The error it gave me was
Code:

Failed to load partitions for device /dev/hda1: Invalid argument
Suggestions?

Moderators, if this is in the wrong forum, feel free to move it.

slantoflight 04-13-2006 09:56 AM

Have you tried using /dev/hda? Its suppose to be able to search for partitions automatically.

microsoft/linux 04-13-2006 03:06 PM

I haven't. But I still need to set it to look for individual partitions right? as opposed to the whole disk?

EDIT: Ok, I tried that, and it let me finish setting up the virtual machine. Except now it gives me a grub error when booting
Code:

GRUB Loading stage1.5

GRUB loading, please wait...
Error 17

Any ideas?

enine 04-14-2006 08:01 AM

I have made it work, with a dual boot system you have to give access to the complete disk so the boot manager can get loaded. Then you have to boot XP normally (not inside of vmware) create another hardware profile and set it to manaully prompt for the profile, then boot the 'vmware' profile and change the ide drivers to just plain old IDE so it will boot under vmware, then install vmware tools to update the ide driver.

microsoft/linux 04-14-2006 08:48 AM

I've got it booting now. It seems to be completely functional, but I wouldn't know, because I can't get past "registration screen" once I log in. It doesn't seem to have a connection, and the network connection is showing up as an ethernet connection. I normally connect via wifi in linux, is there a way to set that up?

enine 04-14-2006 09:51 AM

Thats normal because vmware presents virtual hardware back to the guest OS. What you need to do is setup the vmware networking in linux either bridges or nat, then set up the virtual adapter in XP.

microsoft/linux 04-14-2006 09:53 AM

hwo do you set up the virtual adaptor in XP? I've got the networking set up as bridged. You mentioned a hardware profile above. Is that related to the networking issue?

enine 04-16-2006 09:46 PM

You setup the virtual adapter just like you would if the virtual machine was on your network for real. Since it bridged it will have similar settings to the real adapter on your host OS, same subnet, gateway, dns.
The hardware profile is because the hardware looks different under vmware and native, under vmware your going to see the IDE, network, and video that vmware emulates, when booting normally you see the real hardware in the system. XP can't fully autodetect the hardware at boot time so you have to use profile to tell it which IDE driver to use.

microsoft/linux 04-16-2006 10:00 PM

I'm sorry, can you explain this to me? I've never set up a profile. The real adaptor get's it's address and stuff from dhcp, so I don't set anything. Or is there a tutorial online for this?


All times are GMT -5. The time now is 10:35 PM.