2

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

3
  • 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. Commented Jul 6, 2011 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
    Commented Jul 6, 2011 at 19:49
  • duplicate to the previous (can't delete my comment)
    – bakytn
    Commented Jul 6, 2011 at 19:58

1 Answer 1

6

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/

4
  • Thanks for the post! I was able to convert using VBoxManage convertdd path_to_vdi_file path_to_new_raw_file
    – bakytn
    Commented Jul 6, 2011 at 19:49
  • Cool, if you like the posts, upvote us! :) Commented Jul 6, 2011 at 19:54
  • But when I am starting to load it. it says "no bootable device" any ideas?
    – bakytn
    Commented Jul 6, 2011 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? Commented Jul 6, 2011 at 20:03

You must log in to answer this question.

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