Daily tip

How do i convert an image file from the qemu qcow2 format to vdi for VirtualBox?

qemu-img.exe convert -f qcow2 file.qcow2 -O vdi file.vdi

Daily tip

Is there any script or utility or way to check if you are running in a virtual machine or in a physical server?

You can install the package virt-what, that is basically a script displaying the type of VM inferred from the system or if you are in a physical machine.