Converted vdi to vmdk can't be opened with VMware Workstatio

This is for discussing general topics about how to use VirtualBox.
Post Reply
abcuser
Volunteer
Posts: 595
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Windows XP

Converted vdi to vmdk can't be opened with VMware Workstatio

Post by abcuser »

Hi,
on VirtualBox 3.2.6 PUEL version on Windows XP SP3 host I have cloned dynamically resized vdi file to vmdk using command:

Code: Select all

VBoxManage clonehd  input_file.vdi outputfile.vmdk --format VMDK
Clone finished successfully without a problem.

Then I have opened VMware Workstation 6.0 program and created new virtual machine (using Custom option) and during creation of virtual machine I have pointed to newly created outputfile.vmdk created with clonehd command above.

I get error (see attachment bellow). Bellow is also attachment of VMware Workstation version I use.

Question: Is there any step I have missed? Should I also do any other task?

Thanks
Attachments
VMware error when I run a virtual machine
VMware error when I run a virtual machine
vm_error.png (18.19 KiB) Viewed 2244 times
VMware Workstation version I use
VMware Workstation version I use
vm_version.png (2.62 KiB) Viewed 2244 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Converted vdi to vmdk can't be opened with VMware Workstatio

Post by Perryg »

Normally I export the guest if I need to use it in another virtualizer. While it should work to just clone as you have done there may be issues. Also were the VBox guest additions still installed? This might be confusing VMware. Also I need to note that in some cases with version 3.2.x of VirtualBox the export/import function does not work. (more than one partition in the VDI and more than one HDD VDI) causes the import to not work. (Reported to bugtracker) http://www.virtualbox.org/ticket/7001
abcuser
Volunteer
Posts: 595
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Windows XP

Re: Converted vdi to vmdk can't be opened with VMware Workstatio

Post by abcuser »

Perryg, yes there was VirtualBox Additions installed. So I have uninstalled it and exported appliance like you suggested. I user only one VDI file and only one partition. Export finished without any problem. But importing into VMWare ESX 4.0 reported the error (see attached picture).

Is there any other steps I should follow? I have found the following tutorila: http://www.ctrip.ufl.edu/howto-convert- ... -to-vmware is this tutorial really need to follow? Is it really so complicated? Do I really need to export to OVF version 0.9?
Attachments
import.png
import.png (9.14 KiB) Viewed 2172 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Converted vdi to vmdk can't be opened with VMware Workstatio

Post by Perryg »

I really think the export/import feature in these newer version of VirtualBox is broken. If you tired the .09 version and it still does not work then I would post a ticket in bugtracker. The DEVs need to know this is not working right either.
abcuser
Volunteer
Posts: 595
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Windows XP

Re: Converted vdi to vmdk can't be opened with VMware Workstatio

Post by abcuser »

Just to tell how I have solved the problem. I have tried several export from VirtualBox, several converting using ovftool (VMWare tool) and nothing really worked. Then inside VirtualBox Windows virtual computer I have installed VMWare Converter (downloaded from wmware.com web page) and convert "virtual machine to virtual machine" and created virtual machine worked in VMWare Workstation 6.0 without any problem at all.

This is one single most simple and the only really working solution. :)

Problem solved.
Post Reply