Raspberry Pi — Install and boot Raspbian OS Headless with Ethernet cable using Windows

Long story short

We will be booting Raspberry Pi 3 with Raspbian OS using laptop for the first time.

Long story -

You need HDMI cable and a monitor to install OS on Raspberry Pi for the first time . After that you can SSH into Raspberry Pi using Putty or any other related terminal emulator connecting your laptop . But for students and other enthusiast its preferable if they can boot OS using laptop i.e a Headless install

Things I have : Raspberry Pi 3 , Ethernet cable , SD CARD 8GB and a Windows box

Step 1

Go to https://www.raspberrypi.org/downloads/raspbian/ and download RASPBIAN JESSIE LITE . Extract it .

Download following : Win32 Disk Imager , SD Formatter , Xming Server , Putty

Step 2

Use the card reader to format SD Card with SD Formatter — select the drive and select Format Size Adjustment as ON from drop down.

Step 3

Install the extracted image in Step 1 using Win32DiskImager — select the appropriate image file and drive of sd card formatted in last step .

Step 4

Go to the sd card drive and add an empty file named “ssh” — this is most important and overall crux of headless install as by default the new version of Raspbian ships with ssh disabled.

Step 5 :

Eject the sd card , put it into the Raspberry Pi slot , set power and Ethernet cable between Rasberry Pi and Laptop . Switch On Raspi.

Step 6 :

Share your existing wireless/ethernet internet connection with Raspi Local Connection .

Step 7 :

Start Xming server in background and do following settings on yours Putty :

Xming server running in background
Set the hostname exactly as raspberrypi.mshome.net on Port 22 for SSH as Connection type
Set X11 forwarding to localhost:0

Step 8

Wait for sharing of Internet connection — you may need to restart computer — after that just ppen your RaspberryPi session from putty . The default username is — pi and password — raspberry.

Type command — startlxde after logging in , make sure the Xming server is running in background.By this time you must be able to see the Raspbian GUI desktop — You are in !

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.