user2162449
user2162449

Reputation: 183

Protecting RPi SD card from getting corrupt on daily power cycles

I'll start off with my questions since they are general and give some background below...

My questions:

Background:

I have a Raspberry Pi board - on power Linux boots from SD and runs a user program. It is connected to a monitor, speakers, GPIOs, and LEDs.

The project requires that all the power gets cut everyday in order to save energy. The result of months of this happening is that the SD card became corrupt.

Your help is much appreciated,

Thank you.

Upvotes: 2

Views: 2019

Answers (1)

Ronny Nilsson
Ronny Nilsson

Reputation: 154

There are numerous ways to use a read-only filesystem and protect the SD-card from corruption. However the solution depends on your requirements and what trade-offs you can afford.

Please have a look at my project Nard SDK
http://www.arbetsmyra.dyndns.org/nard/
which may fulfill your first need. It's a minimal OS for embedded Pi which runs entirely from RAM. After bootup one can even remove the SD card and it will continue to run just fine. It's not "Raspbian" though and thus has fewer applications available.

Upvotes: 3

Related Questions