Skip to content

Instantly share code, notes, and snippets.

View solomonbstoner's full-sized avatar

Solomon solomonbstoner

View GitHub Profile
@solomonbstoner
solomonbstoner / resize_disk_image.md
Created August 11, 2024 12:08 — 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