How to convert OVA to QCOW2 using QEMU
1 min read
- Install
qemu-utils
package.
# Debian/Ubuntusudo apt install qemu-utils
# Archsudo pacman -S qemu
# RHEL/CentOS/Fedorasudo dnf install qemu-img
- Export VirtualBox Appliance to OVA
$ VBoxManage list vms"DB_Server" {9bf53784-16e9-40e7-b081-b7a87ff2f039}
$ VBoxManage export [VM_NAME] -o [OUTPUT_FILE].ova --ovf10
- Extract the
.ova
Package
tar -xvf [OUTPUT_FILE].ova
- Convert the
.vmdk
to.qcow2
qemu-img convert -f vmdk -O qcow2 [VM_NAME-DISK].vmdk [VM_NAME].qcow2
References: