I have some open-source Xen images (.img), that I want to convert to VirtualBox.

Both the methods I tried (convertfromraw or to .xva via xva.py then to ova via XenConvert) produce FATAL: Fatal: No bootable medium found!.

Any idea what the most reliable method is for performing this conversion?

Thanks in advance.

link|improve this question

Is this a Windows or Linux instance you are trying to migrate? Have you tried following instructions from here virtualbox.org/wiki/Migrate_Windows ? As far as I am concerned Xen .img files are simple block device files meaning you can treat them as physical hard drives. – Andrey Nov 6 '11 at 20:03
Also, if it's Windows, you will have to run their MBR repair tool. Just boot your VM into Windows Installation CD and see if detects installation. Follow the steps to repair MBR. – Andrey Nov 6 '11 at 20:06
CentOS 64-bit, so they should work out of box (but they don't). – SyRenity Nov 6 '11 at 20:20
Are your CentOS VMs fully or para virtualised? – Andrey Nov 6 '11 at 20:59
Para-virtual VM's. – SyRenity Nov 6 '11 at 21:25
show 2 more comments
feedback

1 Answer

Use the VirtualBox command line utility - vboxmanage.

vboxmanage clonehd XEN_disk.img VIRTUALBOX_disk.vdi

or

vboxmanage internalcommands converthd XEN_disk.img VIRTUALBOX_disk.vdi

or

Cheat. Use clonezilla or any cloning method.

Boot to clonezilla on the xen virtual client and virtualbox client using a clonezilla iso. Clone from xen to virtualbox.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.