Installing Raspbian stretch Raspberry Pi 3 B+

This is the simple way to create an SD image for your raspberry pi using mac os x high sierra. The purpose is to create a base image then add the desktop so minimal installation and add as necessary.

Required:

  • Mac OSX
  • microSD 8GB min

Download the image:

Raspbian

Select desktop or lite.

I chose lite as the base and will add my own packages.

https://downloads.raspberrypi.org/raspbian_lite_latest

After downloading unzip the file

unzip 2018-04-18-raspbian-stretch-lite.zip

Use this file or the latest updated version for when you are reading this.

2018-04-18-raspbian-stretch-lite.img

Open up the Terminal Window

Look for the SDcard after running the disk utility. It should look like /dev/disk# (# being number of the disk, it should look like /dev/disk2, confirm by checking the size and match the SDcard

  1. diskutil list
  2. sudo diskutil unmountDisk /dev/disk#
  3. sudo dd bs=1m if=~/Downloads/2018-04-18-raspbian-stretch-lite.img of=/dev/rdisk# conv=sync
  4. sudo diskutil unmountDisk /dev/disk#
  5. sudo diskutil eject /dev/disk#

After ejecting, place the SD file in the pi.

First boot of raspbian stretch on pi 3 b+ the default password is:

Raspbian | pi | raspberry

After logging in you can do whatever you want.

I used the following https://www.raspberrypi.org/documentation/installation/installing-images/mac.md for reference.

For windows or linux you can reference here