converting a windows xp VMware virtual host for use on VirtualBox
Here is a quick guide to importing Windows XP virtual machines
created in VMware into a VirtualBox environment. If possible, uninstall VMware-Tools from the virtual host before shutting it down. You cannot uninstall VMware-Tools from a Windows virtual host that is not running on VMware. Stop VMware services and set it to not start automatically. Or you can uninstall VMware. Just be certain that you will not run VMware and VirtualBox at the same time. Download and install VirtualBox. To see the current settings: Code:
VBoxManage list systemproperties Code:
VBoxManage setproperty hdfolder /path/to/vmxfiles Code:
VBoxManage -q createvm --register --name MyHost installation of Windows was on real hardware or a VMware host. Otherwise it is not recommended. Code:
VBoxManage -q modifyvm MyHost --ioapic on console. You can only have access to single VM's console on port 3389 of the server at a time. Make sure port 3389 is available before running this. Code:
VBoxHeadless --startvm MyHost server. Be patient waiting for the mouse and keyboard to respond. Windows needs to discover the new hardware. Cancel any driver updates, since you will be installing new drivers shortly. After Windows finishes setting up, browse to your cdrom drive and run VBoxWindowsAdditions.exe if it doesn't start automatically. If you hadn't uninstalled the VMware-Tools package, you'll need to update the driver for the network card. Change it to the "AMD PCNET Family" driver. If you use dhcp or limit access to your network by MAC address, run ipconfig /all and note the new MAC address. Update any required dhcp or network settings, then reboot. Now is the time to configure video mode and similar settings. Set up and test remote access by RDP. Once you have it working, shutdown the virtual host. From now on, use this command to start the virtual host, which will leave port 3389 on the server available for other VMs if needed. Code:
nohup VBoxHeadless --startvm MyHost --vrdp=off >/tmp/MyHost.log 2>&1 & |
The latest version of VBox supports vmdk's out of the box.
You just point and click ;) |
Keep in mind that when doing this Windows may think the 'hardware' appears sufficiently different that it will want to be reactivated. Each key has a limited number of activations. Run a copy of your virtual machine instead of the original in case you lose the activation.
|
Quote:
VirtualBox on the same computer I had been running VMware on and I selected hardware that was identical, the hardware in the VM didn't appear to change. Even if it had, it's just a matter of re-activating Windows, which isn't a problem. I do agree with your point about making a backup first...to me that goes without saying. |
Quote:
|
All times are GMT -5. The time now is 10:33 PM. |