Oct
25
How to convert .vdi image files to .vmdk
October 25, 2009 |
I think that this proceeding will be useful for anyone desiring analyse the performance of a system under VMWare.
If you have already setup your environment to run with VirtualBox and intend to test it under VMWare, the tasks consist of: a) convert .vdi image file to raw format; b) convert the resulting file in raw format to .vmdk.
I have used two tools: vboxmanage.exe (native of VirtualBox) and qemu-img.exe (native of qemu Project). The first tool permits to convert a .vdi file to raw format. The second tool permits to convert a file in raw format to .vmdk (used in VMWare). The command lines follow below:
- vboxmanage internalcommands image.vdi image.raw
- qemu-img convert image.raw -O vmdk image.vmdk
PS: considering I have executed all commands using Windows, I believe that they will be functional under other systems too because qemu and VirtualBox run on other architectures. There is a qemu implementation for Windows available here.
Other related links: