search
top

How To Convert VDI to VMDK

Introduction

So you have create a VM using VirtualBox and need to have a way to add it to you VMware farm or ESXi system, but the VirtualBox VM is in VDI format. No worries, using tools in VirtualBox we can convert the VM to a VMDK.

The Process

First step is to remove the VirtualBox guest additions if they are installed on your VM. If this is a Windows system use Programs and Features and uninstall them. Now we are eady to gather some information and start the conversion using vboxmanage.

First we need to locate the UUID of the disk to convert. Open a command prompt, terminal and type.

VBoxManage list hdds

We will get a list of the details we are needing for the conversion.

vdiconvert1

Now we are ready to convert to the vmd format. This will take a longtime to complete once started.

Change to the directory where the vdi file lives. You can get this from the previous command in which we gathered the UUID. Using the information we have gathered we will use the vboxmanage command with clonehd to run the conversion.

vboxmanage clonehd 846e5dbd-a88e-439e-8519-ea8aa47d7eb7 win10x64.vmdk –format vmdk

Take note that you need to give it a filename or the process will create one using the UUID.

vdiconvert2

Now that the conversion is completed you can create a new VM in VMware and attach the converted disk to it!

 

 

One Response to “How To Convert VDI to VMDK”

  1. Román Martínez says:

    Great post!

    You can also use QEMU (free and portable) to convert VM disk formats:

    http://www.sysadmit.com/2016/08/vmware-convertir-vhdx-en-vmdk.html

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top