piserver icon indicating copy to clipboard operation
piserver copied to clipboard

An overlayroot script worked fine for os

Open chengjianwen opened this issue 5 years ago • 2 comments

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.

chengjianwen avatar Nov 19 '20 13:11 chengjianwen

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.

maxnet avatar Nov 19 '20 19:11 maxnet

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

chengjianwen avatar Nov 20 '20 05:11 chengjianwen