How to make the file system of the Raspberry Pi read only
There is an update
to this story:
https://blog.vidakovic.xyz/posts/2019/08/the-ultimate-read-only-file-system-onI
have found
this repo on the gitlab and
decided to fork it:
https://github.com/milanvidakovic/rpi-readonly
Why is this important? Well, Raspberry Pi usually uses micro SD card as a
drive. I have been using Raspberry Pi and similar computers since 2014 and have seen SD card crashes too
many times. Last time, my RPI2 crashed on regular poweroff (sudo poweroff). The SD card
in it was new, so it was not the old faulty card. Simply, RPI tends to crash SD cards. Sooner or later, it
will crash it.
There are numerous tutorials on how to make Raspbian file system read only.
However, this repo above is the only one that made me able to make a desktop version of Raspbian read only.
What I mean is that most of the tutorials help you make your headless server-only Raspbian become read only.
However, if you have a Raspbian with the GUI, then this script is the only one that I was able to make work
(not saying it is the only one in the world).