Skip to content

Clone of elegant overlayRoot.sh solution from Pascal Suter for running a raspberry pi from a read-only rootfs mount.

Notifications You must be signed in to change notification settings

hcfman/overlayroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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.

About

Clone of elegant overlayRoot.sh solution from Pascal Suter for running a raspberry pi from a read-only rootfs mount.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages