Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.04 KB

README.md

File metadata and controls

12 lines (7 loc) · 1.04 KB

overlayroot

Greatly inspired by and lots copied from the elegant overlayRoot.sh solution from Pascal Suter for running a Raspberry Pi from a read-only rootfs mount.

It has been amended to keep working on recent raspberry pi's as things change including Debian bookworm

This is a beautiful little script that facilitates running a Raspberry Pi with a read-only mounted filesystem whereby logfiles and other minor writes would then be written to memory only. The result of this is a stable running system that should be pretty much immune from SD card corruption. Read more on Pascal's site for details.

The original can be found here:

http://wiki.psuter.ch/doku.php?id=solve_raspbian_sd_card_corruption_issues_with_read-only_mounted_root_partition

This repo was created in order to aid with the use of this solution in automatic install scripts. The master branch will be kept working for the latest version of Raspberry Pi, which now includes Debian bookwork with the coming of the Raspberry Pi 5. Other branches will be created to support other configurations.