Raspberry Pi 1 - Startup Raspberry Pi With OS Installation And Configuration With Laptop

Introduction

 
Raspberry pi
 
Figure 1: Raspberry pi
 
You need the following components:
  1. Raspberry Pi device
  2. Laptop
  3. Router
  4. LAN Cable or USB WiFi connector.
  5. 5 V power supply
  6. SD card (mini. 8 GB)
You need the following software:
  1. Advance IP scanner
  2. Putty software
  3. Xming
  4. SD formatter
  5. Win32 Disk Imager
For starting Raspberry Pi with laptop screen follow the below steps:
  1. Firstly, we have to install the Operating System for the Raspberry Pi, so download the OS from the given link.
     
    Here, I used RASPBIAN JESSIE OS. After download completed we have to install it on the SD card. Before installing OS we format the SD card with SD formatter, so start the “SD formatter” software as in the following: 
     
    SD formatter
     
    Figure 2: SD formatter
     
  2. Select your SD card and click on the “Format” button.
     
    After a successful format, now we have to install the operating system on the SD card.
     
  3. Start the “Win32 Disk Imager” software. Now browse the operating system image file which you downloaded and select the SD card in a given dropdown list and click on the “Write” button.
     
    download and select the SD card
     
    Figure 3: Win32 Disk Imager
     
    This will start writing the image file to the SD card. This will take a couple of minutes so please wait for some time. After successful SD card writes, attach your SD card to the Raspberry PI and follow the below steps.
     
  4. Connect the LAN cable one end to the router and other ends to the raspberry Pi device also connect the laptop to the same router as in the following figure:
     
    raspberry Pi device
     
    Figure 4: Raspberry Pi device
     
  5. Now give power supply to Raspberry Pi as in the following figure:
     
    power supply to raspberry pi
     
    Figure 5: Power supply to raspberry pi
     
  6. Now start Advanced IP scanner and start the scan with your IP address series.
     
    Advance IP scanner
     
    Figure 6: Start Advanced IP scanner
     
  7. Here we connect the Raspberry Pi to the router because the router will assign an automatic IP address to all the connected devices. So we get the IP address of the Raspberry Pi from the router. Here I have an IP address (192.168.0.113).
     
    IP address
     
    Figure 7: IP address of the raspberry pi
     
  8. Now start the PuTTy software and enter the Host Name (IP address) as in the following image:
     
    Host Name
     
    Figure 8: Enter the Host Name
     
  9. Now go to the following location and mark them:
     
    a. Connection >> SH >> X11.
     
    Make a mark to “Enable X11 forwarding” as per the following image:
     
    Enable X11 forwarding
     
    Figure 9:
    Enable X11 forwarding
     
  10. Now click on the “Open” button this will open a window (something like CMD).
     
    Open
     
    Figure 10:
    Login
     
  11. If your PI is successfully started and if your IP address is valid then it will ask for the Username and password as in the following image:
     
    User Name: pi
     
    Password: raspberry
     
    Password
     
    Figure 11:
    User Name and Password
     
  12. If you enter valid username and password then it will show the following:
     
    enter valid username and password
     
    Figure 12: Enter username and password
     
  13. Now start the “Xming” software, it shows in taskbar as in the following image:
     
    Xming
     
    Figure 13:
    Starts the “Xming” software
     
  14. Now type “lxsession” command in putty windows and hit enter. Now wait for few seconds and it will open raspberry pi windows on your desktops.
     
    lxsession
     
    Figure 14:
    Type “lxsession” command
     
    Run
     
    Figure 15: Raspberry pi windows
     
  15. Now you can start work with Raspberry Pi as in the following image:
     
    start you work with raspberry Pi
     
    Figure 16: Work with Raspberry Pi
Now you enjoy your Raspberry Pi, if you like my tutorial or if you have any query, then comment on this.