DavidMenting / pristitrope

MIT License
0 stars 0 forks source link

SD card corruption / no longer mounting USB drive #1

Open DavidMenting opened 9 years ago

DavidMenting commented 9 years ago

After three days of exhibition, the Pristitrope no longer boots properly. The splash screen is loaded from disk correctly but the USB drive doesn't mount.

It looks like file system corruption.

Short investigation shows that /tmp is not mounted as tmpfs (even though the video gets copied there and debian-ua-netinst claims to do so). This is fixed by adding an entry to fstab.

Further measures can be taken, for instance mounting everything read-only and unmounting the USB drive as soon as the files have been copied.

DavidMenting commented 9 years ago

Switching to readonly can be done in the following ways: http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=22596 http://blog.gegg.us/2014/03/a-raspbian-read-only-root-fs-howto/