Ticket #3021 (closed defect: duplicate)

Opened 12 years ago

Last modified 11 years ago

VBoxManage fails converting .vdi images to .vmdk

Reported by: mcdodot Owned by:
Component: VMM Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: other Host type: Linux


The command line order for converting vdi into vmdk images, generates an image unusable with vmware (vmplayer message is: ASSERT [...]/disk.c:3868 bugNr=21838).

# VBoxManage internalcommands converthd -srcformat VDI -dstformat VMDK file.vdi file.vmdk 

But converting the same file to raw and then converting into vmdk produces good images.

# VBoxManage internalcommands  converttoraw file.vdi file.raw
# VBoxManage convertfromraw  -format VMDK file.raw file.vmdk


Hardy 32.vmdk Download (576 bytes) - added by nsabovic 11 years ago.

Change History

comment:1 Changed 11 years ago by main

Can confirm this problem. Bug still exists in 2.2.2 (Host: Linux 64bit)

comment:2 Changed 11 years ago by klaus

Can you try this with a flat VMDK image too (2.2.x only)? It requires more space, but it'd allow to track down the bug relatively easily. Just specify --variant fixed. The resulting x-flat.vmdk files should be identical (if not, tell me), as they're the raw image data. The x.vmdk files are regular text files, so if you could attach them I wouldn't need sample files to track down this weird issue.

comment:3 Changed 11 years ago by klaus

  • Version changed from VirtualBox 2.1.0 to VirtualBox 2.2.2

comment:4 Changed 11 years ago by nsabovic

I also have this issue, Virtualbox 3.0.0. I get the same assertion when I create a VMDK using:

VBoxManage clonehd Hardy\ 32.vdi Hardy\ 32.vmdk --format vmdk

I tried creating a flat VMDK, but VMware Fusion 2.0.5 won't import it and pops up an error "The file specified is not a virtual disk". The command was

VBoxManage clonehd Hardy\ 32.vdi Hardy\ 32.vmdk --format vmdk --variant fixed

I'll attach the resulting vmdk.

Changed 11 years ago by nsabovic


comment:5 Changed 11 years ago by nsabovic

Btw isn't it cute that the modification uuid reads bad baaf...

comment:6 Changed 11 years ago by klaus

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #2723

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use