Openplotter on a readonly filesystem - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How I did it (https://forum.openmarine.net/forumdisplay.php?fid=6) +--- Thread: Openplotter on a readonly filesystem (/showthread.php?tid=2194) |
Openplotter on a readonly filesystem - RooieDirk - 2020-01-03 There are several websites explaining how to run a rpi on a readonly website, but always without x-server. What I did is use a common way to have the "/" and "/boot" directories readonly, and than have "/home" on a seperated partion. This home partion is actually 3 partions and the formatted with btrfs in raid-5. Now the homepartion is read/write but also secure for SDcard corruption. The result is an openplotter rpi where you can pull out the power plug while running without problems. (At least until now I didn't have any). HERE is a link to an image file (Needs a 16Gb) SDcard) RE: Openplotter on a readonly filesystem - tobias.e - 2021-01-24 (2020-01-03, 05:37 PM)RooieDirk Wrote: There are several websites explaining how to run a rpi on a readonly website, but always without x-server. What I did is use a common way to have the "/" and "/boot" directories readonly, and than have "/home" on a seperated partion. This home partion is actually 3 partions and the formatted with btrfs in raid-5. Now the homepartion is read/write but also secure for SDcard corruption. The result is an openplotter rpi where you can pull out the power plug while running without problems. (At least until now I didn't have any). Hi, I tried to set up a system like this, using the link you mentioned on zeilersforum.nl https://medium.com/swlh/make-your-raspberry-pi-file-system-read-only-raspbian-buster-c558694de79? SingalK works just fine, but there seems to be a problem running Xorg: VNC connects, but says "Cannot Display Desktop" Do you have any hints for me? Best regards, Tobias RE: Openplotter on a readonly filesystem - RooieDirk - 2021-01-24 Hoi Tobias, The only advice I have is: check the log. And if it is an X problem check the X log (".xsession-error" in your home dir) On my pi it takes about one full minute before I can login with the VNC viewer. Oh one more advice, is your pi configured to start without the need of an user password? I think it is needed. RD RE: Openplotter on a readonly filesystem - tobias.e - 2021-01-28 Hi RD, The message was fairly generic, "mkstemps: permission denied" Nevertheless, there is a very simple solution: I set up a raid array for /home and activated the overlay fs in raspi-config, which makes / read-only Best regards, Tobias RE: Openplotter on a readonly filesystem - CapnKernel - 2021-01-29 (2021-01-28, 09:08 PM)tobias.e Wrote: The message was fairly generic, "mkstemps: permission denied" strace -e open may help see the parameters to the call to mkstemps. Is /tmp set up to be a tmpfs ramdisk? |