User Tools

Site Tools


raspberry

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberry [2023/03/29 06:50] skipidarraspberry [2023/03/29 06:56] (current) – [Remote install of image per ssh] skipidar
Line 981: Line 981:
 https://weberblog.net/reinstall-your-raspberry-over-the-network/ https://weberblog.net/reinstall-your-raspberry-over-the-network/
  
 +  * Login via SSH to the system on which the image is located and read it via dd. The stdout is tunneled through SSH to the local system.
 +  * Using pv you can see how much data is transferred. (You may need to install it with apt-get, but you can also omit this.)
 +  * funzip extracts the first file and sends it to stdout.
 +  * dd writes it to the SD-card.
  
 +<code>
  
 +#This will enable the reset of the Raspberry without regular commands.
 +echo 1 > /proc/sys/kernel/sysrq
  
 +#download image
 +curl -L http://downloads.raspberrypi.org/raspbian_lite_latest | funzip | dd bs=4M of=/dev/mmcblk0
  
 +# restart the pi (Sofortiger Neustart des Systems (ohne Synchronisation der Speichermedien!))
 +echo b > /proc/sysrq-trigger
 +</code>
raspberry.1680072646.txt.gz · Last modified: by skipidar