Site icon

Install Raspbian on an SD card on OS X & Windows

[su_button url=”” style=”flat” background=”#00aeef” size=”5″ center=”no” radius=”0″]<– PART 1[/su_button] [su_button url=”” style=”flat” background=”#00aeef” size=”5″ center=”no” radius=”0″]PART 3 –>[/su_button]

Welcome to the second part of our guide “Automatically download TV show episodes as soon as they are available“. If you only need to know how to install Raspbian on your SD card, your still in the right place.

In this post, you’ll learn how to install the popular operating system ‘Raspbian’ on an SD card using a Mac or Windows machine. After doing so, you can continue setting up your Raspberry Pi which I’ll show you in the next part.

How to install a Raspberry Pi operating system on an SD card

Before you start, you (obviously) should have a microSD card and a computer with an SD card reader. Besides that, download the Raspbian image file directly from (don’t forget to unzip the image file!).  Done? Good, let’s get started.

For OS X users:

Put your microSD card into your card reader (and connect it to your Mac if your using an external reader). For this to work, your microSD should be empty and formatted in FAT32.

Go to your applications and open up Disk Utility (or just use Spotlight). Now we need to find the microSD card’s so called BSD number which looks like “diskn” where “n” is a number. To find it, select it (left side) and click on ‘Verify Disk’. Now, have a closer look at the appearing lines of text. There should be a line very similar to “/dev/rdisk1s1”. In this example, the BSD number would be “disk1”. With your microSD card still selected, click on ‘Unmount’ in the top menu bar of Disk Utility.

Now all you need to do is open up Terminal (in your Mac’s applications) and run the following line:

sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn

Make sure to replace “n” from diskn with the right BSD number. Also, you need to include the complete path of your Raspbian image file. An easy way to find a file’s exact location is to drag and drop the file into the Terminal window.

So an example could look like that:

sudo dd bs=1m if=/Users/marc/Desktop/2014-12-24-wheezy-raspbian.img

After hitting Enter, you’ll be prompted to enter your system password (the one you use to log into your computer). Now, the image file is being transfered and installed on your microSD card. This can take a while. During the process you won’t see any feedback in your Terminal window so be patient until you see many new lines confirming a successful image transfer.

That’s it! You can now plug your microSD card into your Raspberry Pi.

In the next part we’ll show you how to do the initial setup of your Raspberry Pi.

For Windows users:

  1. Insert your microSD card into your card reader and find out its drive letter in Windows Explorer (for example G:).
  2. Download Win32DiskImager, unzip the downloaded file and run the utility file.
  3. Select the Raspbian image file you downloaded.
  4. Select the drive of your SD card in the ‘Device’ dropdown. Make sure you chose the correct one. Otherwise, you risk damaging the data on your hard drive.
  5. Select ‘Write’ and wait for the process to finish. That’s it!
  6. Now you can plug the SD card into your Raspberry Pi’s slot.

The next part of this guide will show you how to setup your Raspberry Pi. It will be released next week, so stay tuned!

[su_button url=”” style=”flat” background=”#00aeef” size=”5″ center=”yes” radius=”0″]GO TO PART 3[/su_button]

Marc Knoll

Marc is an online marketer, avid blogger and technology enthusiast. His focus is on Android, tech and gadget reviews. He likes spending time travelling and reading all about what's going on in the tech world.
Exit mobile version