Giter Site home page Giter Site logo

rpi-readonly's Introduction

rpi-readonly's People

Contributors

paulhayes avatar ways avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rpi-readonly's Issues

Make boot partition rw

It's useful having a rw area, for debug purposes. Is there a way to keep the boot partition rw?

Oh and thanks for making these scripts and keeping them up to date. They are real lifesavers. I'm always hesitant to try scripts posted on forums, as they quickly go stale.

Wifi not working

I think there may be an issue with wifi not working after running this script. Investigating...

logout as non root in ro mode

just a minor glitch:

pi@raspberrypi(ro):~$ logout
mount: only root can use "--options" option
/sbin/fake-hwclock: 37: /sbin/fake-hwclock: cannot create /etc/fake-hwclock.data: Read-only file system
mount: only root can use "--options" option
mount: only root can use "--options" option
Connection to raspberrypi closed.

Altered the setup.sh file and added a line to grab the UUID of the SD card...

I downloaded and ran the script on my new 2017-11-29-stretch install and it mostly worked... errors and fixes below:

  • Got an error on line 27 where it tries to move and rename /etc/resolv.conf... just needed a space between the old and new file.
  • Line 24 echos a string to '/boot/cmdline.txt' but contains a UUID that did not match mine... I added the following to the script starting at line 24 and replacing the previous echo directive:
uuid=`grep '/ ' /etc/fstab | awk -F'[=]' '{print $2}' | awk '{print $1}'`
echo "dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=$uuid rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait noswap ro fastboot" > /boot/cmdline.txt

I hope this helps someone out there - your script was desperately need in my mind, thank you for putting it together in the first place! :)

-Beach

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.