First Tinkerings with a Raspberry Pi

I’ve settled for DietPi (the Jessy Version) as an operating system, mostly because I wanted the easy peasy WiFi possibilies it offered.
I’m on a Mac, and needed to get the DietPi image on an SD Card, so I downloaded the 7z-file, noticed that I had nothing to unarchive 7zip-files, got myself the command line version of p7zip via sudo port install p7zip (Macports,mostly because brew refused to follow through), and unzipped the file 7za e DietPi_RPi-Jessie.7z . So far so un-exciting.
Then, I’ve looked for the SD card plugged into my Mac: diskutil list.

My SD Card is disk4 – and it needs to have FAT32 partitioning.
Then, just unmount the disk and copy the image file to the SD Card:
diskutil unmountDisk /dev/disk4
sudo dd bs=1M if=/Users/flffy/Downloads/DietPi_v94_RPi-Jessie.img
of=/dev/disk4

Then I edited the dietpi.txt on the SD Card, to have WIFI enabled, and also included the credentials.
Plugged-in the SD-card, turned on the Pi and … it worked. Including the WiFi. Including ssh (to find the IP, there’s nmap). Amazing. 🙂

Leave a Reply