Friday, May 3, 2024
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

 Answers
7

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


[#43986] Wednesday, March 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jokaned

Total Points: 315
Total Questions: 116
Total Answers: 119

Location: Somalia
Member since Mon, Feb 27, 2023
1 Year ago
;