Sunday, April 09, 2023

raspberry pi write image (.xz) to SD through the pipe; without pre uncompress, everything on the fly

 

unxz raspberrypi-someversion.img.xz -c | dd of=/dev/sdc  bs=2M  && sync

# -c     stdout

# osx example, if /dev/disk2       bs=2m

Labels: , , ,