Convert .iso to .qcow2

Stark picture Stark · Aug 30, 2017 · Viewed 17.7k times · Source

I would like to convert windows .iso to .qcow2 format and use in openstack.

Tried using vbox: https://www.virtualbox.org/ Not sure how to add cloud-init package to the OS, configure grub (steps 11&12)

Also tried using qemu-img commands in windows using ref https://cloudbase.it/qemu-img-windows/ able to convert image to .qcow2 format but when i upload image to openstack and launch instance. It got stuck at booting.

Answer

Alvin Smith picture Alvin Smith · Jul 23, 2021
brew/apt install qemu
qemu-img convert xxx.iso xxx.qcow2