User:Alexander Roidl/PIScan: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
==Read only== | ==Read only== | ||
To make it writeable | |||
<source lang="bash"> | |||
sudo mount -o rw,remount / | |||
</source> | |||
[[File:IMG 6801.JPG|thumbnail|Modifying main.py]] | [[File:IMG 6801.JPG|thumbnail|Modifying main.py]] | ||
==Overlay== | ==Overlay== | ||
[[File:IMG 6796.JPG|thumbnail|Fstab File]] | |||
The files written to the PI will be lost on every reboot as the main folders are overwritten. | |||
Example of the etc folder to mount the overlay to the main folders. | |||
<source lang="bash"> | |||
umount etc/ | |||
mount etc_org/ etc/ | |||
</source> | |||
==Create a partition & make it writable== | |||
To make a part of the PI writable, I created a 3rd partition and mounted it in fstab. |
Latest revision as of 10:20, 24 March 2018
PI Scan
I spent a few hours with the Pi Scan to understand its structure and how the read only system works
Read only
To make it writeable
sudo mount -o rw,remount /
Overlay
The files written to the PI will be lost on every reboot as the main folders are overwritten. Example of the etc folder to mount the overlay to the main folders.
umount etc/
mount etc_org/ etc/
Create a partition & make it writable
To make a part of the PI writable, I created a 3rd partition and mounted it in fstab.