Converting Sun Virtualbox vmi file To Vmware vmdk file

Trend mate | Thursday, August 30, 2012 | 1 comments

This article show you how to convert Sun Virtualbox vmi file to Vmware vmdk file. Recently I have started using Ubuntu as my desktop in my company. And installed Sun Virtualbox for test VMs. But most of the people have vmplayer installed. So they donot know how to use this vmi images on a windows box. So here is a solution for converting those vdi image files to VMware .vmdk images.
When we install Sun Virtualbox we have so many command lines tools installed along with it. One good tool is VBoxManagePlease remember commands in Linux are case sensitive. So if you try to type vboxmangeit will not work. You have to type exactly as VBoxManage.
Step1 : Convert from vdi to raw.
#VBoxManage internalcommands converttoraw /data/Vm-images/ubuntu-vm.vdi /data/Vm-images/ubuntu.raw
Step2 : Now install qemu, which is used to convert .raw files to .vmdk
#apt-get install qemu
Step3 : Convert .raw files to .vdmk using qemu-img command
#qemu-img convert -O vmdk /data/Vm-images/ubuntu.raw /data/Vm-images/ubuntu.vmdknow try to access this .vmdk file using your VMware workstation or VMware player.
So what about viseversa?here there are two methods are there 
1. By default your Sun Virtualbox will support .vmdk vmware images.
2. If its not supported use the following way.
Step1 : Use again qemu-img to convert .vmdk disk to .rawqemu-img convert ubuntu.vmdk /tmp/ubuntu.raw
Step2 : VBoxManage convertdd /tmp/ubuntu.raw ubuntu.vdiplease share your thoughts.

Category: , ,

About the Author :
Am Hari Krishnan .Currently, I'm preparing a delicious meal... I take ingredients from the tech world... I have already used 2 tea spoons of software, 3 table spoons of network, a cup of linux and Windows, a jug of web and many more tasty ingredients!!

1 comment:

  1. Usually I do not read post on blogs, however I wish to say that this write-up very pressured
    me to try and do it! Your writing taste has been amazed me.
    Thank you, very great article.
    my webpage - seo link building


Related Posts Plugin for WordPress, Blogger...