When trying to resize a disk on Debian 8, I got the following error
root@rescue:~# growpart /dev/nvme0n1 1
-bash: growpart: command not found
root@rescue:~#
Fixed by installing cloud-utils package
apt install cloud-utils
On newer versions of Debian/Ubuntu, you need to install cloud-guest-utils package.
apt install cloud-guest-utils
On RHEL/AlmaLinux/CentOS, growpart command is provided by the package cloud-utils-growpart to install, run the command:
yum install cloud-utils-growpart
Leave a Reply