How do I use VMDKs with VirtualBox?

I've got a backup of my VM's old VMWare folder including the VMDK files. It looks like VirtualBox should be able to handle VMDKs, but it's telling me it can't. Googling about it everything just talks about one VMDK file, but I've actually got 3 and suspect that may be the issue. This VM just had a single drive, yet I've got "computer_2.vmdk" (only 1 KB), "computer_2-ctk.vmdk" (8MB), and "computer_2-flat.vmdk" which is the full 250GB that my VM takes.

Is there something special I need to do to consolidate or prep these VMDKs for VirtualBox usage?

6

3 Answers

You can also use free V2V Converter from StarWind. It has user-friendly GUI and supports VMDK, VHD/VHDX, QCOW2, physical drives:

A quick internet search of the term "ctk.vmdk" got me to This VMware forum thread, and it seems the virtual disk was created with changed block tracking enabled, and such feature is likely to be unsupported by Virtualbox, (or at least not in same format as VMware).

If you still have access to your VMware software, you can try with the following steps. (make sure you delete (or apply) any snapshots in this machine)

  1. Power off your virtual machine. (if it's running)
  2. Right click the VM, click “Edit settings”, find the “Options” tab and click “Configuration Parameters”
  3. Set the “ctkEnabled” value to false
  4. Set the “scsi0:x.ctkEnabled” value to false for each disk of the VM in question
  5. Open the source folder and remove any -CTK.VMDK files
  6. Power on the VM
  7. Power off the VM (this is needed to update the CTK table)

then the site mentions a few further steps which might be unnecessary in your case.

  1. Power on the VM
  2. Rerun Backup program

the instructions are taken from this thread

Hope it Helps!

You can try to convert it using VBoxManage that is installed with VirtualBox:

VBoxManage.exe clonehd --format VDI input.vmdk output.vdi

On Windows, VBoxManage.exe is located in C:\Program Files\Oracle\VirtualBox

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like