Explorer/RaspberryPi/PowerOffProtection

From PaparazziUAV
Revision as of 03:13, 23 June 2020 by Xp31 (talk | contribs)
Jump to navigation Jump to search
  • Install
git clone https://github.com/marklister/overlayRoot.git
cd overlayRoot 
sudo bash install
sudo dphys-swapfile swapoff;\
sudo dphys-swapfile uninstall;\
sudo update-rc.d dphys-swapfile remove
  • Check

check: reboot, create file, reboot, file is not here

boot/cmdline.txt
remove "init=/sbin/overlayRoot.sh"

check: reboot, create file, reboot, file is here

  • Usage
sudo mount -o remount,rw /ro
sudo chroot /ro