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
Last revision Both sides next revision
sd_card_read-only [2016/07/20 23:58]
admin
sd_card_read-only [2016/07/22 18:04]
admin
Line 1: Line 1:
-===== SD card read-only ===== +===== Read-Only SD Card ===== 
-Change SD card to read-only mode.\\+Change your SD card to read-only mode.\\
 [[http://raspberrypi.stackexchange.com/questions/5112/running-on-read-only-sd-card]]\\ [[http://raspberrypi.stackexchange.com/questions/5112/running-on-read-only-sd-card]]\\
 [[https://web.archive.org/web/20150101110424/http://raspberrycenter.de/forum/umruestung-raspberry-pi-read-only-root-filesystem]]\\ [[https://web.archive.org/web/20150101110424/http://raspberrycenter.de/forum/umruestung-raspberry-pi-read-only-root-filesystem]]\\
  
 +==== Fstab ====
 in: in:
   $ sudo nano /etc/fstab   $ sudo nano /etc/fstab
Line 9: Line 10:
   /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:\\ 
-rsyslog, dphys-swapfile 
  
 +----
 +==== Disable some Programms ====
 +disable rsyslog and dphys-swapfile:\\
 +
 +Weesie:\\
 +  $ sudo update-rc.d -f rsyslog remove
 +  $ sudo update-rc.d -f dphys-swapfile remove
 +Jessie:\\
 +  $ sudo systemctl disable rsyslog
 +  $ sudo systemctl disable dphys-swapfile
 +
 +----
 +==== Remount ====
 To remount the partition writabe:\\ To remount the partition writabe:\\
   $ sudo mount / -o remount,rw   $ sudo mount / -o remount,rw
  
 ---- ----