User Tools

Site Tools


linux:raspberry_pi_read-only_root

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
linux:raspberry_pi_read-only_root [2017/11/29 15:34]
kacper [Helper scripts for rootfs]
linux:raspberry_pi_read-only_root [2017/11/29 18:47]
kacper systemd
Line 85: Line 85:
 umount /sys umount /sys
    
-exec switch_root /rootfs /sbin/init+exec switch_root /rootfs /bin/systemd
 EOF EOF
  
Line 113: Line 113:
 ===== Create rootfs with debootstrap ===== ===== Create rootfs with debootstrap =====
 I wrote a little script that will deboostrap a minimal raspberry rootfs. Run as //​./​rpi-debootstrap.sh [directory to debootstrap to]//. I wrote a little script that will deboostrap a minimal raspberry rootfs. Run as //​./​rpi-debootstrap.sh [directory to debootstrap to]//.
-Download at [[https://​github.com/​wokis/​raspberrypi/​blob/​master/​rpi-deboostrap.sh]]+Download at [[https://​github.com/​wokis/​raspberrypi/​blob/​master/​rpi-debootstrap.sh]]
 <code bash> <code bash>
 mkdir /​home/​me/​raspberry/​rootfs mkdir /​home/​me/​raspberry/​rootfs
linux/raspberry_pi_read-only_root.txt · Last modified: 2017/11/29 18:51 by kacper