I'm currently of the mind that the way the overlay is enabled/disabled in the latest Raspberry Pi OS release is not correct. I submitted a pull request with an attempt to fix it at https://github.com/RPi-Distro/raspi-config/pull/225, but my understanding is its not a priority right now and there is some debate over whether or not the features should even be in raspi-config.
Although that PR was submitted to address a different issue than yours, I believe it contains information on how you might go about enabling/disabling the overlay. In other words, don't use raspi-config. Instead, just edit the /etc/overlayroot.local.conf and reboot. You also shouldn't need to mess with fstab.
I suggest reading the following to hopefully glean an understanding of how the overlayroot authors intended it to work.
https://git.launchpad.net/cloud-initram ... yroot.conf
https://manpages.debian.org/bookworm/ov ... .8.en.html
Although that PR was submitted to address a different issue than yours, I believe it contains information on how you might go about enabling/disabling the overlay. In other words, don't use raspi-config. Instead, just edit the /etc/overlayroot.local.conf and reboot. You also shouldn't need to mess with fstab.
I suggest reading the following to hopefully glean an understanding of how the overlayroot authors intended it to work.
https://git.launchpad.net/cloud-initram ... yroot.conf
https://manpages.debian.org/bookworm/ov ... .8.en.html
Statistics: Posted by JinShil — Tue Jun 18, 2024 12:22 am