Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
sd_card_read-only [2016/07/22 18:01]
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 some Programms ====
 disable rsyslog and dphys-swapfile:\\ disable rsyslog and dphys-swapfile:\\
  
Line 18: Line 22:
   $ sudo systemctl disable dphys-swapfile   $ 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
  
 ---- ----