Convert VirtualBox disk image to other format

From Wiki
Jump to: navigation, search

List registered hard drives:

VBoxManage list hdds

clone drive to raw image file:

/usr/bin/VBoxManage clonehd --format raw Windows\ 2003.vdi windows-2003.img

Clone to an existing disk:

sudo /usr/bin/VBoxManage clonehd Windows\ VM.vdi san-disk.vmdk --existing