Updated on 2022-07-12 GMT+08:00

Debian

For Debian, you only need to install growroot.

  1. Run the apt-get install cloud-initramfs-growroot command to install growroot.
  2. Run the following command to check whether cloud-initramfs-growroot has been installed:

    dpkg -l | grep cloud-initramfs-growroot

    If information similar to the following is displayed, growroot is installed successfully:

    root@bms:/home/bzqd# dpkg -l | grep cloud-initramfs-growroot
    ii cloud-initrramfs-growroot      0.18.debian5     all     automatically resize the root partition on first boot