How to use qcow2 Image on Virtualbox

This is an article written to display or to present about how to use qcow2 image file on Virtualbox. Basically, qcow2 image as far as I know it cannot be used directly to be started or to be booted when the qcow2 image itself is basically an operating system image. To be able to use it, first of all, the qcow2 image needs to be converted. Virtualbox can start or can boot image in the vdi file format. In order for a qcow2 file image can be utilized in the Virtualbox, these steps below must be executed properly :

1. Convert the qcow2 file image. Below is how to convert the file before it can be used in Virtualbox :

qemu-img convert -f qcow2 qcow2_file_name -O vdi vdi_file_name

The command pattern above which is used to convert file image from qcow2 format into vdi format can be executed in a real situation as follows :

Continue reading “How to use qcow2 Image on Virtualbox”