Skip to content

Tag: losetup

Growing a qcow2 image file

First, convert it to raw: qemu-img convert system.qcow2 -O raw system.raw Read More »

Mounting partititions residing inside a disk image

When you've read a disk with dd or ddrescue into an image file, one of the things you want to do is mount the partitions inside it. But, how does one do that? The answer is using losetup, with a bit of knowledge of partition offsets. Read More »