Setting up an SD Card or MicroSD card for use with your Raspberry Pi or Raspberry Pi 2

We are going to show you three ways that you can set up your SD card;

Writing your SD/MicroSD from a Mac - The EASY WAY using ApplePi Baker

STEP NUMBER ACTIVITY DETAILS

PLEASE NOTE - THE FOLLOWING COULD CAUSE DATA LOSS - READ CAREFULLY AND PROCEED AT YOUR OWN RISK

1 Download either the Base Image (Anyone) or Custom Image (If you have a 16Gb Sandisk MicroSD Ultra Class 10 and appropriate case with heatsink) from http://htpc.com.au/index.php/raspberrypi/downloads
2 Download a copy of 'Apple Pi Baker' from http://downloads.htpc.com.au/ApplePi-Baker.zip
3 Find the downloaded file Apple_Pi-Baker.zip (Likely in your 'Downloads' folder), and Double Click on it to extract the application
4 Find the extracted file (ApplePi-Baker) in your Downloads Folder, you may drag this over to your Desktop or Applications folder so that it is easier to locate
5 Insert your SD Card into your MAC
6

Right Click on the Apple Pi Baker file

Apple Pi Baker Icon

(Two finger click) to bring up the context menu, and select 'Open' (If you double click on the file , it won't open as it was not downloaded from Apple or trusted developer). Right clicking on it and selecting open will bring up another dialog asking if you are sure you would like to open the file; select 'Open'.

7

You will see the main Apple-Pi Baker Window:

Apple Pi Baker Step 1

8 Select your Pi-Crust (Your SD Card - This is IMPORTANT!! You need to ensure you select the correct disk. If you select the wrong disk, you could LOSE DATA on another disk)
9 Select (...) under Pi-Ingredients and search for the downloaded img.gz fle
10 Once your dialog looks like the one in step 6, DOUBLE CHECK YOUR PI-CRUST IS STILL POINTED AT YOUR SD CARD!!
11 Make sure you are happy that you have selected your SD card, press RESTORE BACKUP
12

Apple Pi Baker will now write the image to your SD card. This process will likely take up to 20 minutes.

Apple Pi Baker Step 2

13 When you see the message "Your Apple Pi is Ready" - Close Apple Pi Baker
13 Find "No Name' on your desktop (This is the mounted image), right click on No Name and then in the contect menu, select "EJECT No Name"
14 Remove your SD Card; the card is now ready to go!

 

Alternative Method to write your SD/MicroSD From a Mac - From the Command Line  / CLI (No apps required)

STEP NUMBER ACTIVITY DETAILS

PLEASE NOTE - THE FOLLOWING COULD CAUSE DATA LOSS - READ CAREFULLY AND PROCEED AT YOUR OWN RISK

1 Download either the Base Image (Anyone) or Custom Image (If you have a 16Gb Sandisk MicroSD Ultra Class 10 and appropriate case with heatsink) from http://htpc.com.au/index.php/raspberrypi/downloads
2 Once you have downloaded the image, you will need to do the following from terminal (Where you see <username> you need to replace with yours or amend the appropriate path to the file. You can access Terminal by going to Finder / Applications / Utilities / Terminal
3 cd /Users/<username>/Downloads
4 gunzip <filename>.img.gz
5 Insert your SD Card into your Mac
6 diskutil list (to verify which the SD disk is, eg /dev/disk1) ***You will need to amend the number below in each command if yours is not 1***
IT IS VERY IMPORTANT YOU HAVE THE CORRECT NUMBER BEFORE PROCEEDING TO AVOID DATA LOSS
7 sudo diskutil unmountDisk /dev/disk<x> (eg. /dev/disk1)
8 sudo diskutil eraseDisk "MS-DOS FAT32" HTPC_PI /dev/disk<x>
9 sudo diskutil unmountDisk /dev/disk<x>
10

sudo dd if=/Users/<username>/Downloads/<filename>.img of=/dev/rdisk<x>

You may notice that we substituted 'disk' with 'rdisk' above; this is because it will write much quicker (20x faster) when using Raw.

11 Wait for this to complete, it may take around 20 minutes. The cursor / prompt will return once the command has completed.
12 Insert the SD Card into your Raspberry Pi

Write your SD / MicroSD From Windows using Win32 Disk Imager

STEP NUMBER ACTIVITY DETAILS

PLEASE NOTE - THE FOLLOWING COULD CAUSE DATA LOSS - READ CAREFULLY AND PROCEED AT YOUR OWN RISK

1 Download either the Base Image (Anyone) or Custom Image (If you have a 16Gb Sandisk MicroSD Ultra Class 10 and appropriate case with heatsink) from http://htpc.com.au/index.php/raspberrypi/downloads
2 Download a copy of Win32 Disk Imager from here: http://downloads.htpc.com.au/Win32DiskImager-0.9.5-binary.zip
3 Extract the Win32DiskImager-0.9.5-binary.zip file to somewhere on your PC
4 Extract the download image file to a location that has enough free space. The custom image requires 16Gb of free space.
5 Insert your SD Card into your PC
6 Browse to the folder and right click Win32DiskImager.exe - Select 'Run as Administrator'
7

The Program will appear and looks like this:

Win32 Disk Imager Screenshot 1

8 Browse to the Image file
9 Select your Device / SD Card (This is important; if you choose the wrong device, you could delete all of the data on the wrong disk!!)
10 Select 'Write' to commence writing to the disk
13 Wait for the card write to complete. This should take around 20 minutes depending on the image that you select, it could be quicker or longer.
14 Insert the SD Card into your Raspberry Pi

 

 

image

image

image

image

image