Tech notes and reviews about quadcopters

Menu

How to easily resize a qemu disk image for Windows

In my case, the command was run instantly and it added 30 GB to my existing file, as expected. The output was:

WARNING: Image format was not specified for ‘nameofimg.img’ and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the ‘raw’ format explicitly to remove the restrictions.