File exchange between VirtualBox, VMWare and probably Parallel Desktop.

18Dec09

Have not yet tried it, but may be useful in the future as I start to use VirtualBox more and more each day. It’s fast, free and with source and sdk available.

From this blog:

Convert Virtualbox .vdi to VMware .vmdk
February 25th, 2008

I love VirtualBox because is fast and without a lot overhead. But network bridging is kind of pain in the ass with VirtualBox . I hope they change this fast. Anyways I had to convert my VirtualBox images to the VMware file format. This is easily done with qemu-img a nice tool bundled with qemu. It can handle serveral file formats:

Supported format: qcow2 vvfat vpc bochs dmg cloop vmdk qcow host_device raw

So you could convert some other stuff too. Converting is easily done (this example is for Windows by using qemu-0.9.0-windows):

qemu-img.exe convert -O vmdk hdd.vdi hdd.vmdk

In this case we convert the disk hdd.vdi to hdd.vmdk. The input format is detected automatically but can be overriden by adding -f switch. Output is vmdk as given with the -O switch.

And a comment

# 13 greg Says:
May 31st, 2008 at 3:53 am
The qemu-img by itself did not create a bootable windows system. Here’s how I got it to work:

Here’s how I did it (using Linux)

1. Get vditool (http://www.virtualbox.org/download/testcase/vditool, will need VirtualBox installed, plus a few other things like libstdc++-5.0, libuuid, etc.)
2. Get qemu-img (from qemu binary http://bellard.org/qemu/qemu-0.9.1-i386.tar.gz)
3. vditool COPYDD diskname.vdi diskname.dd
4. qemu-img convert -O vmdk diskname.dd diskname.vmdk

Then I was able to boot the image.

Powered by Qumana

Advertisements


No Responses Yet to “File exchange between VirtualBox, VMWare and probably Parallel Desktop.”

  1. Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: