Skip to content

How to Convert VMDK to VDI Disk using VirtualBox

Advertisement

VDI is the native format for VirtualBox and has many advantages over VMDK disk. VMDK also has its own advantages over other formats and you can also use vmdk disk with VirtualBox. In some cases, if you still required to convert .vmdk to .vdi disk format. Use VBoxManager command to convert .vmdk to .vdi.

VBoxManage – Convert VMDK to VDI

If the vmdk disk is attached to running virtual machine shutdown the VM first and remove vmdk file from VM.

Windows Users can use the following command to change UUID of D:\NewVM\myDisk1.vdi disk.

c:\> cd "C:\Program Files\Oracle\VirtualBox\"
c:\> VBoxManage clonehd --format VDI mydisk.vmdk mydisk.vdi

Linux Users can also use the VBoxManage command to change UUID of a disk.

VBoxManage clonehd --format VDI mydisk.vmdk mydisk.vdi

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

3 Comments

  1. Does not work if you do not keep the image files in the same directory. Attempt to put in the directory string and get Syntax error: Invalid parameter ’10’, but thanks!

Leave a Reply

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


Back to top