From 88d2e084931c6b69eabcc258c205caaf903a0c15 Mon Sep 17 00:00:00 2001 From: Quentin Michaud <76600167+mh4ckt3mh4ckt1c4s@users.noreply.github.com> Date: Sat, 8 Feb 2025 21:01:27 +0100 Subject: [PATCH] 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 --------- Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec --- pages/linux/growpart.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/growpart.md diff --git a/pages/linux/growpart.md b/pages/linux/growpart.md new file mode 100644 index 0000000000..169d9bee41 --- /dev/null +++ b/pages/linux/growpart.md @@ -0,0 +1,12 @@ +# growpart + +> Extend a partition in a disk or disk image to fill available space. +> More information: . + +- 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}}`