Converting img to vdi
Image needs to be aligned. In Linux,
dd if=original.img of=padded.img bs=100M conv=sync
then convert with
VBoxManage convertdd padded.img converted.vdi
or
VBoxManage convertfromraw --format VDI padded.img converted.vdi