Hi,
I have some VMware Workstation images that I would like to convert to VirtualBox images. Is this possible and if it is how?
If this is not possible what is recommended way to get this problem solved? Is there any VMware -> physical machine -> VirtualBox ritual?
Thanks,
Abcuser
Can VMware images be read/converted to VirtualBox images?
Can VMware images be read/converted to VirtualBox images?
In case it's of any use, I successfully converted a VMWare image to use VirtualBox by following the instructions on these two pages:
http://ian.blenke.com/vmware/vmdk/xen/h ... n_hvm.html
http://thedarkmaster.wordpress.com/2007 ... on-how-to/
To summarise:
* Run the original vmware image and uninstall vmware-tools (it can be done afterwards, but it's probably easier to do it beforehand)
* Install VMWare Workstation or VMWare Server (the latter is freely available).
* Use vmware-vdiskmanager to convert a split disk into a single file:
* Install qemu
* Use qemu to convert the vmdk to a 'raw' file:
* Download vditool from http://www.virtualbox.org/download/testcase/vditool
* Make it executable (with chmod)
* Convert to a VDI:
* Create the xml machine specification
If you're using windows (I did this for Windows 2000), mount the CD and boot into setup. Do a normal install (rather than a repair), let it find the installation and then select repair. You'll probably need to apply security updates after booting (my VM doesn't have access to the network, so I didn't bother).
Hope that helps,
Al
http://ian.blenke.com/vmware/vmdk/xen/h ... n_hvm.html
http://thedarkmaster.wordpress.com/2007 ... on-how-to/
To summarise:
* Run the original vmware image and uninstall vmware-tools (it can be done afterwards, but it's probably easier to do it beforehand)
* Install VMWare Workstation or VMWare Server (the latter is freely available).
* Use vmware-vdiskmanager to convert a split disk into a single file:
Code: Select all
vmware-vdiskmanager -r multipart.vmdk -t 0 flattened.vmdk
* Use qemu to convert the vmdk to a 'raw' file:
Code: Select all
qemu-img convert flattened.vmdk -O raw rawfile.bin
* Make it executable (with chmod)
* Convert to a VDI:
Code: Select all
LD_LIBRARY_PATH=/opt/VirtualBox* ./vditool DD vboximg.vdi rawfile.bin
If you're using windows (I did this for Windows 2000), mount the CD and boot into setup. Do a normal install (rather than a repair), let it find the installation and then select repair. You'll probably need to apply security updates after booting (my VM doesn't have access to the network, so I didn't bother).
Hope that helps,
Al
To be honest, I'm not sure. I haven't really looked at VirtualBox for very long (I only installed it a couple of days ago). There is an additional command:
./vditool SHRINK vboximg.vdi
That makes the file smaller, so I'd guess that what this is doing is reducing the file to one that grows as necessary. However, my virtual machine's disk is almost full, so it didn't make much difference in my case.
Hope that helps,
Al
./vditool SHRINK vboximg.vdi
That makes the file smaller, so I'd guess that what this is doing is reducing the file to one that grows as necessary. However, my virtual machine's disk is almost full, so it didn't make much difference in my case.
Hope that helps,
Al
When to expect?
When do you expect the next version to be ready?achimha wrote:The next version will support VMDK files from VMware.
That change, would make me drop the use of vmwareserver for testing all those great appliances...
-
- Posts: 1
- Joined: 20. May 2007, 19:51