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 debian packages to nicely run in ram. It’s using a completely rewritten system to boot, install, and configure (now debian) packages into ram, and persist everything back into .sb “slax bundle” files (
savechanges [/alternative/place/for/mychanges.sb]), which can then get loaded directly into ram on the next boot, reestablishing the saved state.
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 wearless system operation.
A how-to-use walk through and technical info is available here: https://www.slax.org/customize.php