Open goranche opened 8 years ago
removing /etc from /etc/fstab (sounds weird) works quite nicely, although a boot error is introduced by this, something about seed optimisation, I'm guessing the boot procedure (it's systemd related, so... :unamused: ) tries to create some initial random seed and write it to /etc and that is now readonly, hence the error message...
I personally can live with this... will need to test more
I am facing hang on reboot. Is your script already up to date with this 'fix' ? I am ok with 1 boot error. What exactly shoul I do? remove this line from fstab?: mount_unionfs /etc fuse defaults 0 0
ah, yes... I had that error as well... it's caused by the fact that /etc
can't be unmounted during shutdown...
that's pretty much what I did, yes, I've removed that line from fstab
and the appropriate lines from post-install.txt
that deal with /etc
(11, 14 and 16)...
for my particular case, I needed a few files in /etc
to be writeable, so I moved them to /tmp
and created a soft symlink in /etc
(all this happens in post-install.txt
)...
the files I need to be readwrite are hostname
(I "calculate" the hostname from the MAC address, this way each board gets a unique hostname, even if the SD cards are the same) and hosts
(for sudo to work properly after setting the hostname)... in addition to this, /etc/mtab
is replaced with a symbolic symlink to /proc/self/mounts
, so the mounts are displayed correctly when issuing the mount
command...
I haven't (yet) updated the scripts in this repository, but now that I know that at least one other person is using it, I will... ;)
it seems /etc and /etc_rw can't be unmounted...