On 4/27/07, Boniforti Flavio <[EMAIL PROTECTED]> wrote:
> Luis Gallardo <[EMAIL PROTECTED]> writes:
>
> > I've never done it before, but you could convert your real pc using
> > VMWare Converter, then convert it to raw with "qemu-img convert", and
> > finally convert it to vdi using vditool. (don't forget compact it!!)
>
> Well... I got VMWare Converter, I managed to get QEMU for Windows
> (http://www1.interq.or.jp/~t-takeda/qemu/qemu-0.9.0-windows.zip) and I hope 
> it's
> the right one... now, where do I get vditool??? And, how should I proceed to 
> get
> a compacted image then?

You can download it here http://www.virtualbox.org/download/testcase/vditool

Here you are a VMWare to VirtualBox example,  got it from
http://adoldo.wordpress.com/2007/03/22/da-vmware-a-virtualbox-virtuale-open-source-e-meglio/

$ sudo apt-get install qemu
$ wget http://www.virtualbox.org/download/testcase/vditool
$ chmod +x vditool
$ mv vditool /usr/local/bin/
$ qemu-img convert -f vmdk /var/lib/vmware/Virtual\
Machines/MCNLive/MCNLive.vmdk -O raw MCNLive.img
$ vditool DD MCNLive.vdi MCNLive.img
$ mv MCNLive.vdi .VirtualBox/VDI/

On this article the compact step left:

$ vditool SHRINK VirtualBox/VDI/MCNLive.vdi


This is necessary if your VMWare uses a 10 GB dynamic disks, but just
has 2 GB used. After qemu conversion, your image will be 10 GB.

I use this steps once to convert a VMWare appliance to VirtualBox.

-- 
Saludos,
Luis Gallardo

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to