Raspbian is a Debian-based computer operating system for Raspberry Pi. It is now officially provided by the Raspberry Pi Foundation, as the primary operating system for the family of Raspberry PI single-board computers. In this tutorial, I’m going to show you how you can install Raspbean on any version of Raspbean Pi.

Pre-requisites

  • A Raspberry Pi
  • A PC running Windows /Mac/Linux
  • Micro USB cable / Power adapter
  • SD card(for version 1)/Micro SD Card
  • Raspbean-Jessie-OS.img(download link)

For Windows Users

  • Insert your microSD card into your card reader and find out its drive letter in Windows Explorer (for example G:).
  • Download Win32DiskImager, unzip the downloaded file and run the utility file.
    Select the Raspbian image file you downloaded.

win32-imagewriter

  • Select the drive of your SD card in the ‘Device’ drop-down. Make sure you chose the correct one. Otherwise, you risk damaging the data on your hard drive.
  • Select ‘Write’ and wait for the process to finish. That’s it!
  • Now you can plug the SD card into your Raspberry Pi’s slot.

For Mac 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

raspberry-pi-disk-utility-sd-card-1024x758

  • 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.
  • 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 transferred 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.

For Linux Users

  • Insert your microSD card into your card reader and find out its path
  • Open Terminal and change its directory to the location where raspbian.img is placed.Now run the below command.

sudo dd if=path_of_image.img of=path_of_your_sd_card

  • Make sure you replace the path of your image and your destination path. An easy way to find the path location is by using the ls command.
  • 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 transferred 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.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s