Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Linux and software for Linux (http://stream-recorder.com/forum/forumdisplay.php?f=61)
-   -  

How to convert VirtualBox VDI image to Qemu-KVM .QCOW image

(http://stream-recorder.com/forum/showthread.php?t=6179)

Stream Recorder 03-26-2010 05:27 AM

How to convert VirtualBox VDI image to Qemu-KVM .QCOW image


 
Convert the VirtualBox image to a raw image format using the following command:
Code:

VBoxManage clonehd "image.vdi" "image.img" --format RAW
Convert convert the raw image to a qcow image using the following command:
Code:

qemu-img convert -f raw image.img -O qcow2 image.qcow
Test your new image image.qcow:
Code:

kvm -m 512 -usbdevice tablet -hda image.qcow


All times are GMT -6. The time now is 07:10 PM.