Howto Resize QEMU qcow2 Image, Partition and Filesystem
I'm dealing with a lot of technologies and recently I get back to playing with QEMU for virtualization on my PC. I've shared about BunsenLabs Linux on my other blog. I have problem to remember everything I've done. Therefore, I'm documenting the tasks I'm doing so I can find it here later when I need it again. This post will be a quick documentation of my process in growing a QEMU qcow2 image. Perhaps you may find it useful too when you're dealing with the same situation. Check the image before resize, The command: qemu-img info bunsenlabs.img Example output: ➜ qemu-img info bunsenlabs.img image: bunsenlabs.img file format: qcow2 virtual size: 10 GiB (10737418240 bytes) disk size: 5.42 GiB cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false I need to resize it to 32GB, so I added +22G like so: The command: qemu-img resize bunsenlabs.img +22G Example output: ➜ qe...