Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberry:read_only [2021/05/27 13:56]
admin
raspberry:read_only [2021/05/27 14:04]
admin [Fstab]
Line 4: Line 4:
  
 ---- ----
-==== Fstab ==== +==== Drives ==== 
-in:+In the fstab:
   $ sudo nano /etc/fstab   $ sudo nano /etc/fstab
-change:+one has to change the SD card to read only (ro) and also make a temporary virtual drive:
   /dev/mmcblk0p2  /               ext4    defaults,noatime,ro  0       1   /dev/mmcblk0p2  /               ext4    defaults,noatime,ro  0       1
   tmpfs           /tmp            tmpfs   defaults,size=30M    0       0   tmpfs           /tmp            tmpfs   defaults,size=30M    0       0
  
----- 
 ==== Disable some Programs ==== ==== Disable some Programs ====
-disable rsyslog and dphys-swapfile:\\+One has to disable some programs,  rsyslog and dphys-swapfile:\\
  
   $ sudo systemctl disable rsyslog   $ sudo systemctl disable rsyslog
Line 20: Line 19:
 ---- ----
 ==== Remount ==== ==== Remount ====
-To remount the partition writabe:\\+To remount the partition writable:\\
   $ sudo mount / -o remount,rw   $ sudo mount / -o remount,rw