# BUGFIX: Missing disk tools (sfdisk, mkfs.ext4, etc.) ## Problem `sfdisk` not found in container PATH → partitioning fails. ## Required packages ### In the controller Dockerfile (container image) ```dockerfile RUN apt-get update && apt-get install -y --no-install-recommends \ fdisk \ e2fsprogs \ mount \ && rm -rf /var/lib/apt/lists/* ``` Provides: - `fdisk` package → `sfdisk`, `fdisk`, `cfdisk` - `e2fsprogs` package → `mkfs.ext4`, `e2fsck`, `tune2fs` - `mount` package → `mount`, `umount`, `blkid`, `findmnt`, `lsblk` **Note:** `util-linux` (which provides `lsblk`, `blkid`, `mount`) is likely already installed as a base dependency. Check with `docker exec felhom-controller which lsblk` — if it exists, skip `mount` package. The critical missing ones are `fdisk` and `e2fsprogs`. ### On the host node (docker-setup.sh) These should already exist on a standard Debian 13 install, but ensure: ```bash apt-get install -y fdisk e2fsprogs util-linux ``` Add to docker-setup.sh's dependency installation section if not already there. The host needs these for `mount -a` (fstab reload) and as fallback. ## Quick verification after rebuild ```bash docker exec felhom-controller which sfdisk mkfs.ext4 blkid mount lsblk # Should show paths for all five ```