![]() But it changed recently to print the result directly without setting the exit code. Sadly, there are two version of the script, based on the version of raspi-config.įor early releases of PiOS, raspi-config command line returns nothing but set the exit code. In another word, when disabling both OverlayFS and Boot partition ReadOnly, the PiOS need to be reboot twice.įor easing the process for disabling both OverlayFS and change the boot partition back to writable, I write a script to set the boot partition writable when OverlayFS is not enabled currently. But when enabling OverlayFS, raspi-config has an option to set the boot partition to read-only at the same time before rebooting. ![]() While disabling OverlayFS through raspi-config, there is no way to set the boot partition back to read-write before OverlayFS disabled, which requires a reboot. The problem is due to the read-only of the main partition, the mounting mode (readonly or read-write) cannot be changed when OverlayFS enabled. ![]() Boot partition can be set to read-only by raspi-config or editing fstab config file. The protection of OverlayFS doesn’t cover the boot partition (the first one). When enabled, the main partition (the second one) will be locked. PiOS shipped with Overlay FileSystem support.
0 Comments
Leave a Reply. |