How to install "qemu-img" and use it to convert a "qcow2" image to a Virtual Box one?
Solution 1:
The package you want is qemu-utils
:
% apt-file search qemu-img
qemu-utils: /usr/bin/qemu-img
qemu-utils: /usr/share/man/man1/qemu-img.1.gz
So install qemu-utils
:
sudo apt-get install qemu-utils
To convert a QCOW2 image to a VirtualBox VDI image:
qemu-img convert -O vdi test.qcow2 test.vdi
Or to convert to a VMDK image:
qemu-img convert -O vmdk test.qcow2 test.vmdk
Or to convert to a VHD image:
qemu-img convert -O vpc test.qcow2 test.vhd