User:Alexander Roidl/PIScan: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "=PI Scan= I spent a few hours with the Pi Scan to understand its structure and how the read only system works ==Read only== ==Overlay==")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


I spent a few hours with the Pi Scan to understand its structure and how the read only system works
I spent a few hours with the Pi Scan to understand its structure and how the read only system works
[[File:IMG 6794.JPG|thumbnail|Modifying the PI-Scan]]


==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]]




==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

Modifying the PI-Scan

Read only

To make it writeable

sudo mount -o rw,remount /
Modifying main.py


Overlay

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.

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.