Skip to content

Instantly share code, notes, and snippets.

View imperzer0's full-sized avatar

ImperZer0 imperzer0

View GitHub Profile
@imperzer0
imperzer0 / resize_disk_image.md
Created September 6, 2022 18:55 — forked from joseluisq/resize_disk_image.md
How to resize a qcow2 disk image on Linux

How to resize a qcow2 disk image on Linux

This example takes olddisk.qcow2 and resizes it into newdisk.qcow2, extending one of the guest's partitions to fill the extra space.

1. qcow2 format

1.1. Verify the filesystems of olddisk.qcow2