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.
OverlayFS on DietPi with LXDE Topic is solved
Re: OverlayFS on DietPi with LXDE
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
Re: OverlayFS on DietPi with LXDE
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.
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.