Writing a Raspbian Image to a Raspberry Pi from a Mac
Documenting my attempt to set up my raspberry pi as a CJDNS node. First things to happen was installing Rapsbian on the SDCard using raspberrypi.org.
Materials
- a raspberry pi with power cord
- a 32 GB microSD card
- my macbook
- an ethernet cable
Steps
[Download a copy of raspbian](downloads.raspberrypi.org/raspbian_latest), this is the OS of choice for the raspberry pi.
Unzip the file into your root directory.
After the download is complete, run:
df -h
and take note of the listed devices.
Connect the SD card reader with the SD card inside. Be sure the SD card is formatted as FAT32.
Run
df -h
again and look for the newly added device. Record the device name of the SD card’s partition, for example, mine was /dev/disk3s1.To overwrite the disk, you must unmount the partition:
sudo diskutil unmount /dev/disk3s1
Determine what the raw device name is with this formula: add ‘r’...