-
Download latest Raspbian Lite (currently Buster) from here.
-
Plug SD card into computer.
-
Unzip Raspbian image and install on SD card. This should overwrite everything on the SD card; it shouldn't be necessary to format first.
diskutil list # make note of disk of SD card; eg. disk4
asd
diskutil list # make note of disk of SD card; eg. disk4
diskutil unmountDisk /dev/disk4
sudo dd bs=1m if=<path of raspbian image> of=/dev/rdisk4 conv=sync # rdisk4 is faster than disk4
- Touch
sshfile on boot partition:touch /Volumes/boot/ssh(to enable ssh on raspberry pi). - Eject card:
diskutil eject /dev/disk4 - Install card in Raspberry Pi.
- Plug Raspberry Pi into power.
- Connect Raspberry Pi to router via ethernet cable.
ssh [email protected](password:raspberry)- Run Pi-hole installer. During the installation process one can specify a static IP.