I use OctoPrint (OctoPi image) on Raspberry Pi for both my printers. One of them doesn’t have a UPS, and a recent brief power blip has caused it to die. I haven’t picked it apart but I’m pretty sure it’s a corrupt SD card, which seems to happen about 100% of the time when it suddenly loses power. So I need to re-flash the SD card to get it back up and working.
This is annoying and a few months ago I had dabbled with setting up a read-only filesystem so the SD card can’t get corrupted on a sudden loss of power.
I guess I am looking for advice for the longer term, which might span both printing and milling use-cases.
- Find an image that has read-only mode?
- Start with a base image, e.g. V1 Pi, and figure out how to implement read-only mode?
- Buy more UPSes?
- Other options? Network boot?