Skip to content

Enable or disable Overlay File System or write protect boot partition / make boot partition writable via CLI script

License

Notifications You must be signed in to change notification settings

nducoffre/raspi-overlay-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

Enable or disable Overlay Filesystem or Write protect Boot partition via CLI. When deploying a raspberry, via script I wanted to be able to integrate this script into the deployment scripts and avoid corrupted SD-cards. This script uses the code from raspi-config but does not need user interaction for i.e. enabling the overlay fs and write protecting the boot partition. Run the script, reboot, done.

Getting Started

  1. Needs root priviliges: use sudo
  2. Make executable: chmod +x overlayFS.sh
  3. run: sudo ./overlayFS.sh -o y -b y

Info

Used and altered the code from https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config

About

Enable or disable Overlay File System or write protect boot partition / make boot partition writable via CLI script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages