Skip to content

How to Convert VMDK to VDI Disk using VirtualBox

Covers
Disk Management, VirtualBox

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

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

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