virtualbox

Hexagrid Computing - Knowledgebase - Converting VirtualBox VDI files to QCOW2

Both vdi and qcow images are compressed, so a a 10 Gb .vid or .qcow will take less space on your hard drive. Conversion, however, requires you to first convert the .vdi to a raw image, which will require the full 10 Gb, so plan accordingly. Assume your VirtualBox image is called “ubuntu.vdi” Step 1. Convert the VB disk vdi image to a raw image format. clonehd --format RAW ubuntu.vdi ubuntu.img