Unfortunately, I have to confirm that sdcards and flash storage fail (wasn’t the first time), so I looked if the root filesystem could be run completely from RAM in a satisfying a way.
“toram” seems to be a valid boot parameter but only valid for install media and does not support any persistence.
A while ago I came across the slax live distro which allows packages to nicely run in ram.
Now, it’s got a completely rewritten system to boot, install, and configure (now Debian !) packages into ram, and persist everything back into .sb “slax bundle” files. These files (created with
savechanges [/alternative/place/for/mychanges.sb]) can then get selectively loaded and unloaded into ram, directly on the next boot, or during runtime.
It struck me as the most advanced versatile ram system I had seen, so would like to ask what others think about running from ram for speed and wear-less system operation.
A how-to-use walk through and technical info is available here: https://www.slax.org/customize.php