9
rated 0 times
[
9]
[
0]
/ answers: 1 / hits: 14719
/ 2 Years ago, mon, march 21, 2022, 12:06:50
How do I create a .img
file or any disk image to be used with KVM?
More From » kvm-virtualization
How do I create a .img
file or any disk image to be used with KVM?
qemu-img
should do the trick - for example:
qemu-img create -f qcow2 test.img 2g
Creates a 2GB qcow2
format image.
See man qemu-img
for more information