Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I convert a VirtualBox virtual machine to a QEMUwto image?

share|improve this question
    
You may need to take an intermediate step and find a common format you can convert to as a stepping stone. There are various conversion utilities out there, I've had mixed success with them. The Open XenServers conversion tool may be a really handy first step. – Doc Jul 6 '11 at 16:07
    
@The White Phoenix thanks for the post! I was able to convert using VBoxManage convertdd path_to_vdi_file path_to_new_raw_file – bakytn Jul 6 '11 at 19:49
    
duplicate to the previous (can't delete my comment) – bakytn Jul 6 '11 at 19:58
up vote 5 down vote accepted

Qemu-img should do the job, command line example here:

qemu-img convert Windows.vmdk -O qcow2 Windows.qcow

If you have any issues, this article I spotted on-line should address them: http://blog.bodhizazen.net/linux/convert-vmware-vmdk-to-kvm-qcow2-or-virtualbox-vdi/

share|improve this answer
    
Thanks for the post! I was able to convert using VBoxManage convertdd path_to_vdi_file path_to_new_raw_file – bakytn Jul 6 '11 at 19:49
    
Cool, if you like the posts, upvote us! :) – Ruairi Fullam Jul 6 '11 at 19:54
    
But when I am starting to load it. it says "no bootable device" any ideas? – bakytn Jul 6 '11 at 20:01
    
Maybe the conversion didn't work properly - is there any way you can fire up a LiveCD of some description in your VM and try browsing the hard drive from that? – Ruairi Fullam Jul 6 '11 at 20:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .