vdi Converting between IMG and VDI Itf usefull sometimes to convert between these two formats. For example if you want to make some changes on a raw image file (img) with VirtualBox. To convert a .img file to a .vdi file: batpig ~ # VBoxManage convertfromraw -format VDI filename.img filename.vdi