Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 (
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment