Write Raspberry PI image to SD card via command line

Task: Write raspberry pi image file (2023-05-03-raspios-bullseye-arm64.img.xz) to SD card via command line

Solution:

Use next command (set correct ImageFile and output device):

xzcat ./<ImageFile>.img.xz | sudo dd bs=4M of=/dev/sdb conv=fsync

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *




Enter Captcha Here :