Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry:read_only [2021/05/27 13:56] admin |
raspberry:read_only [2021/05/27 14:23] (current) admin [Remount] |
||
---|---|---|---|
Line 4: | Line 4: | ||
---- | ---- | ||
- | ==== Fstab ==== | + | ==== Drives |
- | in: | + | In the fstab: |
$ sudo nano /etc/fstab | $ sudo nano /etc/fstab | ||
- | change: | + | one has to change |
/ | / | ||
tmpfs / | tmpfs / | ||
Line 13: | Line 13: | ||
---- | ---- | ||
==== Disable some Programs ==== | ==== Disable some Programs ==== | ||
- | disable rsyslog and dphys-swapfile: | + | One has to disable |
$ sudo systemctl disable rsyslog | $ sudo systemctl disable rsyslog | ||
$ sudo systemctl disable dphys-swapfile | $ sudo systemctl disable dphys-swapfile | ||
+ | |||
+ | If one needs a programs that requires writing one has to make sure that will be in the temporary drive. That could be done for example with a symbolic link: | ||
+ | $ ln -s / | ||
---- | ---- | ||
==== Remount ==== | ==== Remount ==== | ||
- | To remount the partition | + | |
+ | For changes in the system one has to remount the partition | ||
$ sudo mount / -o remount,rw | $ sudo mount / -o remount,rw | ||