Skip to content

Instantly share code, notes, and snippets.

@FranDepascuali
Created August 25, 2017 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FranDepascuali/82b4dc4ae7584caf0830cdf58d441be1 to your computer and use it in GitHub Desktop.
Save FranDepascuali/82b4dc4ae7584caf0830cdf58d441be1 to your computer and use it in GitHub Desktop.
Raspberry PI configuration
# Raspberry PI (RPI) 3 configuration with Mac OSx.
# 1) Connect SD card to mac (you would need an adapter).
# 2) Find the disk partition.
diskutil list
# 3) Once located, format SD card to FAT32. <disk> was /dev/disk0 in my case.
sudo diskutil eraseDisk FAT32 RASPBIAN MBRFormat <disk>
# 4) Download NOOBS(Offline and network install) for a quick installation (https://www.raspberrypi.org/downloads/noobs/).
diskutil unmountDisk /dev/disk0
sudo dd bs=1m if=/Users/FranDepascuali/Downloads/2017-08-16-raspbian-stretch.img of=/dev/rdisk0 conv=sync
# For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of
# the SD card. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled, and the file is deleted.
# The content of the file does not matter: it could contain text, or nothing at all.
# https://medium.com/@tzhenghao/how-to-ssh-into-your-raspberry-pi-with-a-mac-and-ethernet-cable-636a197d055
# TO BE CONTINUED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment