vmware – How to convert flat disk image to vmdk? – Stack Overflow.
apt-get qemu (installs QEMU on debian/ubuntu)
qemu-img convert imagefile.dd -O vmdk vmdkname.vmdk
I’m assuming a flat disk image is a dd-style image. The convert operation also handles numerous other formats.