Sunday, March 15, 2020

write Raspbian Buster to SD card on Linux

2020-02-13 new version of raspbian buster

1) download image as a ZIP file from
https://www.raspberrypi.org/downloads/raspbian/

2) check shasum, open terminal
$ shasum -a 256 ~/Downloads/2020-02-13-raspbian-buster.zip
# compare with the sha sum on download page

3) insert an empty SD card into computer.  note dev name by
$ df -h
# mine is sdc1

4) unzip on the fly, and write to the sd card in one line (NOTE: replace sdc to your device)
$ unzip -p ~/Downloads/2020-02-13-raspbian-buster.zip | sudo dd of=/dev/sdc bs=1M && sync
# can skip sudo if already in root account
# now wait for about 10 minutes, no print out from terminal.

5) enable SSH before installation:
    mount the sd card, cd into its boot partition, eg. your
    cd /media/ken/root
    touch ssh


Labels: , , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home