Print
Category: Software hacking
Hits: 2439

edit: everything sucks. i just mounted usb for /home and /var, "classic" sysv-style. boom done.

* overlay is a PITA; could probably be made to work but zomg is complex. Better if you don't actually want to preserve anything (like, put upperdir on tmpfs)

* exotic filesystems don't really help

* with non-SD stuff (home, var) off-SD, one could easily-enough just remount ro, and remount rw during upgrades/updates.

problem: raspberry pi needs an SD card to boot* and SD cards aren't great for repeated writes. Eventually they die and it sucks.

Raspberry Pi OS now has an overlay function which can (sort of) let you use a read-only root on the sd card. I'm not using rpiOS tho, because ZFS is happier on vanilla 64-bit Ubuntu.

Ubuntu has an overlay option, but it's kinda a one-time deal; breaking out of it is *hard*.

What I really need:

So here's what *I* and doing:

Gory details / notes for future self: