- First *.vdi hard disk image should be converted to *.raw image
- Then *.raw image need to converted to *.qcow2 image
[root@virtualhost ~]# VBoxManage clonehd --format RAW image.vdi image.raw
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'RAW'. UUID: 5478eb4b-a593-4ef0-b85b-9b3a4a8cc831
[root@virtualhost ~]# qemu-img convert -f raw -O qcow2 image.raw image.qcow2
Now you can use image.qcow2 with KVM.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'RAW'. UUID: 5478eb4b-a593-4ef0-b85b-9b3a4a8cc831
[root@virtualhost ~]# qemu-img convert -f raw -O qcow2 image.raw image.qcow2
No comments:
Post a Comment