Ever since you have purchased Raspberry Pi2 board you may be enthusiastic about the capabilities which this board can support. Above all before using this board for your different projects be it simple blinking of LED’s, interfacing of LCD/TFT displays or designing a much advanced projects like WiFi controllable robots or Quadcopter etc. you need to first install the basic OS running on this board. On this OS running you can create your own applications depending upon your needs. This tutorial is all about making your Raspberry Pi board ready by installing the OS of your choice and creating a platform ready for your creativity and design work.
There are many of the Operating System which Raspberry Pi board can support and this can be found HERE. But as per the Raspberry Pi Foundation team RASPBIAN is their official Operating System. There are also many third party Operating Systems like UBUNTU MATE, SNAPPY UBUNTU CORE, WINDOWS 10 IoT CORE etc which are popular among the users.
In this tutorial I have been using following set of Hardware and will follow the steps for installing RASPBIAN Operating System with the help of NOOBS.
- Raspberry Pi2 Model B Board
- MicroSD Card. I have used 16GB Class 10 card of HP make.
- Card Reader. Any standard MicroSD card reader can be used, these are cheaply available.
- HDMI to VGA converter. I have used this to interface my Desktop PC monitor.
- Micro USB supported Power Supply (Minimum rating: 600mA/5V). I have used normal Micro USB mobile charge of Samsung make.
- USB/WiFi Keyboard and Mouse Pair
This is all the minimum requirement with which you can boot up your board for your first usage. Another optional requirement is the Internet connection which you can connect either through Ethernet Cable via RJ45 connector or through USB WiFi dongle. Internet connection will be required for OS Update and for other package installation of your choice.
We will be following below three major steps in this tutorial.
- MicroSD Card formatting and loading OS files.
- Setting up electrical connection for Raspberry Pi.
- Booting from MicroSD card and installing the RASPBIAN OS.
MicroSD Card formatting and loading OS files
Download and install the software SDFormatter. This is the utility software through which we will format the MicroSD card for loading the OS. Please note that before formatting the MicroSD card kindly backup your useful data from the MicroSD card, as after formatting whole of the MicroSD card will be erased.
After the full setup installation, insert the MicroSD card through the MicroSD card reader in your PC/Laptop. I have been using Windows 10 based desktop. Once inserted the software will detect the MicroSD card inserted and will show the corresponding assigned drive letter.
Navigate to “Option” button and click on it. This will open a setting window, where in select “FORMAT SIZE ADJUSTMENT” as “ON”. Click “OK” button and move out from the opened window. Now press “Format” tab to completely format the MicroSD card. Once formatting is done it will prompt with a success message.
Next step is to download the NOOBS (Offline & network install) software. Once NOOBS has been downloaded extract the files into the root of the MicroSD card.
After completion of above four steps, safely remove the MicroSD card from the PC/Laptop. Your MicroSD card is now ready for first boot-up and installation of RASPBIAN Operating System.
Setting up electrical connection for Raspberry Pi
Next step is to connect your Raspberry Pi with Power adapter, USB Keyboard & Mouse, Display using HDMI to VGA convertor and inserting the MicroSD card which you have prepared in previous steps in the MicroSD card slot provided at the bottom of the board.
Booting from MicroSD card and installing the RASPBIAN OS
Once the electrical connections has been setup properly as per previous steps, power on the Power Supply. As soon the power is turned “ON” the RED LED on the Raspberry Pi board marked as “PWR” glows and turns red. The LED next to this marked as “ACT” shows the Read/Write cycle IN/OUT of the SD Card and will blink. Once both the indicator LEDs on board is OK you will see the following display on the screen.
This will take some amount of time until the following screen appears where it asks for one of the settings among the three. For the newbie just the recommended setting i.e. Raspbian and click on Install button. For advance users they can choose the other options depending upon their requirements.
After complete Installation a confirmation message will come and upon clicking “OK”, the Raspberry Pi will restart.
After installation complete and first boot of the Raspberry Pi following configuration windows will show up which allows you to configure your Raspbian installation and Enable/Disable I2C or GPIO or SPI etc. You are also allowed to set the default memory for GPU. There are a lot of settings, one can set them easily depending upon their requirement.
Note: This Raspbian configuration wizard or setup tool can be accessed anytime by typing sudo raspi-config command in the Raspbian Terminal.
Note: The default user credentials for Raspbian login is:
Used Id: pi
One can take control of root user which is the default power user by typing in sudo -x in the CLI.
The GUI interface of the RASPBIAN can also be accessed by typing in startx in the CLI.
Hope you must have understood the full tutorial listed above and must have followed the same to install and boot the RASPBIAN Operating System in your Raspberry Pi board using NOOBS. For any further query please feel free to comment below.