Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|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

1 Answer 1

up vote 6 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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