Skip to content

Instantly share code, notes, and snippets.

@cho2
Forked from mamonu/qcow2vdi.sh
Created February 10, 2020 13:02
Show Gist options
  • Save cho2/d6b8565fc577df88cfc64dcc36f1b8d6 to your computer and use it in GitHub Desktop.
Save cho2/d6b8565fc577df88cfc64dcc36f1b8d6 to your computer and use it in GitHub Desktop.
convert a qcow2 vm to a VirtualBox vm format
qemu-img convert -O vdi gnome.qcow2 gnome.vdi
#if its a raw image then:
VBoxManage convertdd opnstk.raw VBox.vdi --format VDI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment