Skip to content

aiminickwong/rpi-readonly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-readonly

Make raspberry pi raspbian file system read-only

Based on https://hallard.me/raspberry-pi-read-only/

  • setup.sh - Tested OK on 2017-11-29-raspbian-stretch*.img
  • Old version named setup.sh.jessie - Tested OK on 2017-04-10-raspbian-jessie*.img

TODO:

Tricks for certain apps:

  • Apache2, edit logpath in /etc/apache2/env
  • Chromium-browser, use --user-data-dir /tmp/something
  • Lightdm - fixed via setup.sh
  • Rpi-Cam-Web-Interface: mount /var/www/html/media/ on tmpfs or external rw disk

Usage after setup:

  • If you need to change anything, run rw to remount file system read/write. Then ro to make it read only.
  • Logs can be read with the command readlog and readlog -f.

About

Make raspberry pi raspbian file system read-only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%