http://privex3guvvasyer6pxz2fqcgy56auvw5egkir6ykwpptferdcb5toad.onion/articles/how-to-resize-partition
. - you can install parted from apt: sudo apt update
sudo apt install -y parted For Redhat-based distros (Fedora, Redhat, CentOS, Oracle, Amazon Linux, etc.), you can use either dnf (for modern distros) or yum (for older distros): # for modern distros
sudo dnf install -y parted
# for older distros, or if you get an error saying dnf isn't installed
sudo yum install -y parted For Arch Linux, you can use pacman : sudo pacman -Sy parted 2.