Skip to content

Tag: dd

Growing a qcow2 image file

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

Increasing (encrypted) disk image size with dd

When you have a raw disk image file, you may need to increase its size at some point. With dd, you can do this: 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 »