Page 1 of 1
Overlayfs does not boot
Posted: Monday 27 March 2017 18:02
by vedeem
After following the instructions for using overlayfs, the rpi does not boot anymore.
It hangs when trying to detect the boot device
a timer runs for 1:30 minutes: 'a start job is running for dev-mmcblk0p1.device'
after which the startup process continues but the /boot device cannot be found
At the end it goes into emergency mode, but you can't do anything there.
I have tried changing mmcblk0p1 to sda1 in th fstab but with the same result
reverting the files back to there original state make the rpi work again, so it's not the sd card.
Anyone an idea what is happening?
Re: Overlayfs does not boot
Posted: Wednesday 29 March 2017 7:32
by jannl
Did you carefully check everything? Looks like you did something wrong. I exactly followed the steps in the wiki and it worked perfectly. You need to follow all steps exactly like in the wiki.
Re: Overlayfs does not boot
Posted: Thursday 30 March 2017 7:22
by vedeem
I have done it several times with the same problem.
So I think i did every step as in the wiki.
I'm using the latest Jessie. Maybe there is the problem.
I'm going to do everything step by step to try to determine which step is causing this issue
I already noticed that the entries in fstab are incomplete.
Tmp files are not created anymore.
I solved that issue by adding mode=1777 to the tmpfs lines.
I'm not sure at the moment if this is secure, and for which mounts this is necessary.
Re: Overlayfs does not boot
Posted: Tuesday 20 June 2017 16:23
by ldoa
Its nearly the same on my jessie-system(2017-04-10-raspbian-jessie-lite - I also gave it a try on my Debian x86 vm with the same result) - in detail, as long as I don`t try to mount /var as overlayfs everything is fine, /home gets mounted as an overlayfs. After activation the fstab-line with the /var folder(instead of bind /var_org to /var), the system seems not to be able to generate the static device nodes in /dev and - I guess - because of this its not able to mount /boot.
I don`t really have a clue what's interfering with /var, or what systemd(?) is messing up at this early stage.. I would be very happy if someone could help me to solve the problem!
edit: Basically adding the mode-option to the fstab tmpfs-line did not solve it..

Re: Overlayfs does not boot
Posted: Thursday 22 June 2017 7:05
by jannl
You also modified the boot.cmd? I use it on a pi2 with jessie. I followed the wiki several times without any problems. Can you post your fstab?
Verstuurd vanaf mijn SM-G930F met Tapatalk
Re: Overlayfs does not boot
Posted: Tuesday 12 September 2017 20:00
by jannl
I just followed the wiki to activate overlayfs on raspbian stretch, everything seems to work so far.