I couldn’t resize the system storage of
debian-11-minimal and its clones.
<timestamp> resize-rootfs-if-needed.sh: /usr/lib/qubes/resize-rootfs: 15: partprobe: not found <timestamp> localhost systemd: qubes-rootfs-resize.service: Main process exited, code=exited, status=127/n/a <timestamp> localhost systemd: qubes-rootfs-resize.service: Failed with result 'exit-code'. <timestamp> localhost systemd: Failed to start Adjust root filesystem size.
Clearly, the fact that
partprobe is not installed was the issue. Indeed, after
apt installing it, then rebooting the VM, the disk was resized correctly.
For Debian 11,
partprobe is “part” of the
parted package. Is
parted not part of minimal templates? Or did I somehow accidentally remove it?
parted is not installed by default, should it be? Perhaps the minimal templates’ documentation should state that
parted is needed to resize the rootfs?
I could understand that “minimal” templates might not need more than a 10GB rootfs. For reference, I am installing
texlive-full and other media programs, which end up totalling more than 10GB, thus leading to the need to resize the rootfs.
I am not marking this as “solved” since my real questions are regarding the inclusion of the package and the documentation edits, not so much solving the
partprobe: not found error.