Skip to content

Read only filesystem

Alexander Dross edited this page Mar 15, 2022 · 2 revisions

Since Stratux Europe Edition 1.6r1-eu026, the root ext4 partition is mounted as read-only to /overlay/robase and overlayfs is used to create a 250MB in-memory file system overlay, which is then mounted as /.

This means that any changes made to the root filesystem will be lost on reboot. No writing to the Micro SD card will happen by default.

To make this possible, the stratux.conf file was moved to /boot so it will remain editable. In case more low-level settings are changed (e.g. network), the /overlay/robase partition will be automatically remounted rw, then the settings will be written, synced and mounted back to read-only.

If you do not want all of this, you can disable all of this completely by enabling this toggle in the settings page:

open the Stratux web interface > Settings > Diagnostics

Persistent logging

(Users of the US version first have to enable the advanced settings by rapidly clicking the Version number on the top of the Status page 7 times.)

After a reboot, the partitions will be mounted as in earlier versions. To temporarily remount /overlay/robase as read-write, you can use overlayctl unlock and overlayctl lock commands.

To make permanent changes to e.g. the interface config file, you need to change /overlay/robase/etc/network/interfaces instead of /etc/network/interfaces.