Files
tldr/pages/linux/growpart.md
T
88d2e08493 growpart: add page (#15708)
* growpart: add page

* Update pages/linux/growpart.md

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* Update pages/linux/growpart.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-02-08 20:01:27 +00:00

417 B

growpart

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

  • Extend partition n from sdX to fill empty space until end of disk or beginning of next partition:

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

  • Show what modifications would be made when growing partition n in a disk image:

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