Converting DMG to VMDK
You can do it on Mac OS as also!
The good start point is this guide. It gave me the idea about how to do this. Here are the steps to make .vmdk image from .dmg.
- Double click your hdd.dmg to mount it.
- Open Disk Utility and select your hdd volume in the left side. Then press Unmount button. The volume will become semi transparent.
- Now press the Info button then find disk identifier in a new window. It should be like disk1.
- Open Terminal window. Execute
cd /Applications/VMware\ Fusion.app/Contents/Library/
./vmware-rawdiskCreator print /dev/disk1. To make sure that it's your source .dmg and it is readable.
- Then make a linked vmdk via
./vmware-rawdiskCreator create /dev/disk1 fullDevice /Users/yourname/Desktop/hdd-link lsilogicIt will do not a real vmdk but one linked with your dmg data.
- Run following command to make resizable hdd.vmdk with the copy of dmg data.
./vmware-vdiskmanager -r /Users/yourname/Desktop/hdd-link.vmdk -t 0 /Users/yourname/Desktop/hdd.vmdk
- After the process successfully completes you can eject your hdd.dmg and add the result hdd.vmdk to your virtual machine.
You can resize the result vmdk from within your VMWare Fusion app.