OverlayFS on DietPi with LXDE Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Cas
Posts: 6
Joined: Sat Aug 01, 2020 11:59 am

Re: OverlayFS on DietPi with LXDE

Post by Cas »

So I try it out with a vanilla dietpi (only install lxde, xorg and xinit), now it is all ok.

I have to look what my dietpi-system do at startup. Is there some Log or where you would assume to get the informations?

Until now, I have to say very much thanks for your advices and patience.
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: OverlayFS on DietPi with LXDE

Post by Joulinar »

You could have a look into journalctl or dmesg to check what happen during boot
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
adamf663
Posts: 1
Joined: Thu Aug 20, 2020 2:12 am

Re: OverlayFS on DietPi with LXDE

Post by adamf663 »

I tried the overlayroot project @ https://github.com/chesty/overlayroot.
I found it's method of writing to the lower level via chroot too much of a PITA.

I ended up using instructions from https://www.domoticz.com/wiki/Setting_u ... spberry_Pi.
It has overlayfs for /home and /var with everything else mounted readonly. A job at shutdown syncs /home and /var back to the lower filesystem. Some of the locations from the author's git repo have moved. I did a git clone, and then used find to locate the missing files.
Next, I need to setup a periodic timer to sync; the system won't be getting many orderly shutdowns once deployed.
Post Reply