Overlayfs does not boot

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
vedeem
Posts: 2
Joined: Monday 27 March 2017 17:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Overlayfs does not boot

Post 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?
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Overlayfs does not boot

Post 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.
vedeem
Posts: 2
Joined: Monday 27 March 2017 17:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Overlayfs does not boot

Post 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.
ldoa
Posts: 1
Joined: Tuesday 20 June 2017 10:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Overlayfs does not boot

Post 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.. :(
Attachments
dev.jpg
dev.jpg (46.05 KiB) Viewed 1237 times
boot.jpg
boot.jpg (46.82 KiB) Viewed 1237 times
timeout.jpg
timeout.jpg (77.87 KiB) Viewed 1237 times
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Overlayfs does not boot

Post 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
jannl
Posts: 673
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Overlayfs does not boot

Post by jannl »

I just followed the wiki to activate overlayfs on raspbian stretch, everything seems to work so far.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest