Skip to content

Tag: dd

Writing bootable disk images (.iso, .img, etc.) to a USB stick from Windows

Because Windows doesn't have dd, and I want to write the latest Mint LTS release to a USB task, I had to face the unpleasant task of finding a Windows tool to perform what's a basic Unix operation. The good news is that I found one, and it's open source: Win32 Disk Imager. It even has a version ≥ 1, titled: “Holy cow, we made a 1.0 Release”. Read More »

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 »