From 2f03bef81922362fddf275b68085a6cccef96eda Mon Sep 17 00:00:00 2001 From: marten <43725244+tiyn@users.noreply.github.com> Date: Thu, 2 Jun 2022 17:36:22 +0200 Subject: [PATCH] Update disk-management.md --- wiki/linux/disk-management.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wiki/linux/disk-management.md b/wiki/linux/disk-management.md index 9678852..bfecdb9 100644 --- a/wiki/linux/disk-management.md +++ b/wiki/linux/disk-management.md @@ -24,7 +24,8 @@ In the following it is assumed that the partition to enlarge is `/dev/sda2` - inside of parted run `print free` and check where the free space after your partition ends - run `resizepart` and follow the instructions; End is the number you checked in -the last step +the last step (alternatively you can insert `100%` as end, if you want to add all +the available free space to the partition) - `quit` parted Now you need to resize the filesystem with `resize2fs /dev/sda2`.