Raspberry Pi doesn’t come pre-installed with any Operating System(OS) which is one of the best features of this device as it give’s you various option’s on which OS you want to install.
In this tutorial we will guide you on how to install Raspbian on a Raspberry pi. For this tutorial we will consider Raspberry Pi 3 (NOTE: This tutorial can be used for all the Raspberry Pi devices)
All the things that you need:
- First and foremost you’ll need a microSD card, minimum of 16GB storage but we recommend you buy a minimum 32 GB one so that there won’t be ever a storage availability issue. We would recommend you buy a UHS-10 SD card or higher for better performance, as UHS-10 cards have a lot higher read and write speed then those cheap SD cards.
- Next step is to format the card to FAT32 or MS-DOS for installation:
- For Windows – Go to My computer > Right Click on SD card storage drive > Click on Format > Under File System choose FAT32 > And then Click Start (Check all the fields have correct value while formatting)
- For Mac – Open Disk Utility select the drive you want to format, click Erase. Choose MS-DOS (FAT) for the format and click Erase.
- Now, download Raspbian (Not NOOBS), at raspberrypi.org/downloads. Download the full Raspbian Jessie ZIP whichis approximately 1.3GB, so it may take few minutes or even hours to download, depending on your internet speed.
Installing Raspbian using a Windows or Mac:
For Windows User:
- First you will need to download Win32 Disk Imager and then install it. After installing it Right click on the application Icon and select from the option Run as Administrator.
- Next step is that you select the image file you extracted from the Raspbian ZIP file.
- Select the correct storage drive by choosing the drive letter in the dropdown menu below Device. See that the drive letter you have chosen is correct, as chosing a wrong one will wipe that particular drive and may cause harm to your system, so better check it twice.
- Now the final step, Click Write.
The process will take few minutes, after completion insert the SDcard in to the Raspberry Pi and power it ON. First boot up will take a bit of time to load so don’t worry.
For Mac User :
- First you will need to uncompress the Raspbian Zip file that you downloaded previously and for that you will need to install The Unarchiver. So now right-click the file, select Extract All, choose a destination for the extracted files and click Extract.After unzipping, it’s time to write the image.
- Now open Terminal by locating the app in Launchpad or by pressing command + spacebar and search for the app in Spotlight.
- Change the directory you’re working in to the location of the extracted image. For example, if you extracted the Raspbian image to your desktop, type cd Desktop/ and press enter.
- Identify the disk by typing diskutil list and pressing enter. Look for the name of the SD card you’re using (it will appear the same in Terminal as it does on the desktop) and locate its identifier, which will look something like disk2 or disk3, depending on how many devices you have connected to your Mac.
- Make sure you have the right storage device identifier and type the command diskutil unmountDisk /dev/[disk identifier] and press return. The command should look something like diskutil unmountDisk /dev/disk2.
- Finally, write the image to the disk using the command sudo dd bs=1m if=[image].img of=/dev/r[disk identifier] and press return. The complete command will look something like sudo dd bs=1m if=2016-03-18-raspbian-jessie.img of=/dev/rdisk2. You will need to enter the administrator password to your computer and press enter once more.
Finally you are done, after completion insert the SDcard in to the Raspberry Pi and power it ON. First boot up will take a bit of time to load so don’t worry.
If you have any queries, have trouble in understanding any of the above step or have any problem’s installing raspbian write it down in the comment section.