Skip to content

Instantly share code, notes, and snippets.

@RafalSladek
Last active May 20, 2018 20:04
Show Gist options
  • Select an option

  • Save RafalSladek/e5f0b63f66aa04fc7b5d49e4dba780f9 to your computer and use it in GitHub Desktop.

Select an option

Save RafalSladek/e5f0b63f66aa04fc7b5d49e4dba780f9 to your computer and use it in GitHub Desktop.
sd card flashing instructions - raspberry

1. download image from official page - https://www.raspberrypi.org/downloads/raspbian/

2. unzip the image

3. after inserting your sd card for the raspberry pi, list all disks with following command

diskutil list

4. knowing how big is your card, look for disk number with this capacity

5. unmount this disk

diskutil unmountdisk /dev/disk<Disk number from diskutil>

6. flash your sd card

sudo dd bs=1m if=<Image filename with path> of=/dev/rdisk<Disk number from diskutil> conv=sync

7. You can check the progress by sending a SIGINFO signal (press Ctrl+T)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment