Thanks for helping out!
I think everything is installed correctly but it seems overlayroot is not finding the filesystem for some reason.
I've looked at what you suggested. The initramfs in the chroot seems to be OK:The overlay cannot be found in the /etc/modules file. Does it need to be there?
I've tried to rebuild the initramfs on the image running on the Pi (not in the chroot during bild) with and without "overlay" being in that file.
It does not make any difference, root continue to be mounted rw on the SD-card.
As for the install of the overlayroot I use the same yaml as you suggested in a small layer:
I think everything is installed correctly but it seems overlayroot is not finding the filesystem for some reason.
I've looked at what you suggested. The initramfs in the chroot seems to be OK:
Code:
lsinitramfs ./work/chroot-2026-05-08/filesystem/boot/initrd.img-6.12.75+rpt-rpi-2712 | grep overlayscripts/init-bottom/overlayrootusr/lib/modules/6.12.75+rpt-rpi-2712/kernel/fs/overlayfsusr/lib/modules/6.12.75+rpt-rpi-2712/kernel/fs/overlayfs/overlay.koI've tried to rebuild the initramfs on the image running on the Pi (not in the chroot during bild) with and without "overlay" being in that file.
It does not make any difference, root continue to be mounted rw on the SD-card.
As for the install of the overlayroot I use the same yaml as you suggested in a small layer:
Code:
---mmdebstrap: packages: - overlayroot customize-hooks: - sed -i $1/boot/firmware/cmdline.txt -e "s/$/ overlayroot=tmpfs:recurse=0 /"Statistics: Posted by MartH — Sat May 09, 2026 8:05 pm







