Is there any way to have a Raspberry automatically after a power failure?

This is a great feature on Mac OS X that I would like to have on my Pi because of it's usage.

It would also be great if I could trigger a file system check and repair during boot after a power failure.

What say you Stack Geniuses? Can I do either?


If you're using Raspbian you can get fsck to run automatically on reboot when necessary by adding FSCKFIX=yes to /etc/default/rcS

  • Thanks @Keyvan! That's awesome. Now I just need it to restart automatically when power is restored! – Kray Mar 3 '14 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.