growpart Command Examples

Extend a partition in a disk or disk image to fill available space. More information: https://github.com/canonical/cloud-utils.

growpart {{/dev/sdX}} {{n}}

growpart --dry-run {{/path/to/disk.img}} {{n}}