Thanks all, it works with qemu-img resize!
On 6/21/24 16:46, Sven Ott wrote:
Hi, I want to mount a VM image to a loop device and give it some
excess space.
To do so, I download a .qcow2 file, add some 0 bytes with truncate,
and then convert the image from QCOW2 to RAW format with qemu-img
Hi, I want to mount a VM image to a loop device and give it some excess
space.
To do so, I download a .qcow2 file, add some 0 bytes with truncate, and
then convert the image from QCOW2 to RAW format with qemu-img convert,
like so:
```
GUEST_IMG=focal-server-cloudimg-amd64
wget https://clou