Convert virtual machine hard disk vdi to vhd using

If you already have VDI hard disks from you  virtual machines and you want to convert them using VBoxManage from VirtualBox. All you need is to install VirtualBox and search for VBoxManage in the installation folder.

VBoxManage capabilities can be found here

Clonehd syntax:

VBoxManage clonehd         <uuid>|<filename> <outputfile>                           [--format VDI|VMDK|VHD|RAW|<other>]                           [--variant Standard,Fixed,Split2G,Stream,ESX]                           [--existing]

Example:

c:Program FilesOracleVirtualBox>VBoxManage clonehd “calcu-mared$Vmswindows xp sp3windows xp sp3.vdi” e:Vhdxpsp3-vs.vhd –format VHD

vbox-clonehd-cmd

Advertisements