1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 20:15:27 +02:00
tldr/pages/linux/growpart.md

426 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 {{[-N|--dry-run]}} {{/path/to/disk.img}} {{n}}