ways / rpi-readonly Goto Github PK
View Code? Open in Web Editor NEWMake raspberry pi raspbian file system read-only
License: GNU General Public License v3.0
Make raspberry pi raspbian file system read-only
License: GNU General Public License v3.0
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.
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.
I think there may be an issue with wifi not working after running this script. Investigating...
I downloaded and ran the script on my new 2017-11-29-stretch install and it mostly worked... errors and fixes below:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.