Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An overlayroot script worked fine for os #119

Open
chengjianwen opened this issue Nov 19, 2020 · 2 comments
Open

An overlayroot script worked fine for os #119

chengjianwen opened this issue Nov 19, 2020 · 2 comments

Comments

@chengjianwen
Copy link

I installed the https://github.com/chesty/overlayroot script to piserver's os, and thus I can delete all tmpfs entries from /etc/fstab. It worked fine and thus the client can get an writable system temporary.

But it don't worked correctly with an new os converted from latest pi os with kernel 5.4 on init-bottom-overlay line 64: mount -t overlay overlay -olowerdir=/overlay/lower,upperdir=/overlay/upper,workdir=/overlay/work ${rootmnt}
and with an error code: no such device.

@maxnet
Copy link
Collaborator

maxnet commented Nov 19, 2020

You did recreate the initramfs on a system with the exact same kernel version used?
Initramfs contains kernel modules that must be exact same version as the running kernel.

@chengjianwen
Copy link
Author

Of course I did it that way. I created the converted os on an same os using a p4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants