I have been trying to change my existing Virtualbox VMs (.vdi) into .qcow2 format and run it on KVM.

I have successfully done the conversion (.vdi > .qcow2) but, the converted VM is not in the same state on KVM as it was in Virtualbox.

I read somewhere that it might have something to do with snapshots? I need to merge latest snapshot into the VM.vdi i think? do i? I didn't manage to find anything else on the subject, so...

The question is, how do i convert latest snapshot ie. current state of Virtualbox VM into KVM (.qcow2) VM that are both in the same state?

  • but how do i merge snapshot into .vdi? is there a danger of breaking the current system if i do that? and do i merge all snapshots or just the latest? – Nanoni Apr 17 '18 at 10:27
  • See this: superuser.com/q/590968/726810 but I don't know if this destroys your current state. – Biswapriyo Apr 17 '18 at 10:31
  • If i shutdown my server now and take a new snapshot, then convert the new snapshot from .vdi to .qcow2, would this new .qcow2 VM be in the same state the original .vdi VM was at the time of the snapshot taken? – Nanoni Apr 17 '18 at 12:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.