Install Raspbian Buster Lite in your Raspberry Pi

AliExpress.com Product - Latest Raspberry Pi 4 Model B with 1/2/4GB RAM BCM2711 Quad core Cortex-A72 ARM v8 1.5GHz Support 2.4/5.0 GHz WIFI Bluetooth 5.0

Using Raspberry for a number of home applications is something fantastic. But Raspberry comes with a low performance hardware, so many times you could need to use as resources as possible dedicated to your applications, instead wasting them for apps that you don’t need (for example desktop environment).
Usually Raspberry kit comes with NOOBS pre-installed inside SD card, but you can also choose to install directly a minimal core and use it from your external PC by SSH.
In this guide I will show you hot to install Raspbian Buster Lite, the official Raspberry Foundation OS.

If you are interested in previous version, please use this link.

What do you need

HARDWARE

  • Raspberry PI 3 model B kit (including at least also case, USB adapater and power supply)
  • 1 micro SD card (at least 8 GB, preferrably class 10) with an SD adapter
  • 1 HDMI cable (be aware that PI Zero has a mini HDMI port!)
  • a USB/wireless keyboard

You can find in Amazon or other e-commerce vendors many offers related to starter kits which includes part of above component. I strongly suggest to evaluate to buy a case with cooling system (fans) if you are thinking to use your raspberry for resources intensive applications (for example cryptocurrency mining).
You also need a PC (notebook or desktop) with an SD card reader

SOFTWARE

  • Raspbian Buster Lite disk image (you can download it from here, used version 4.19)
  • an image flashing software like, for example, Etcher

Step-by-step guide

Download and install in your PC Etcher (if not available).
Download Raspbian Buster Lite disk image (ZIP version) in a local folder and extract the .img file.
Insert your SD card in your PC/SD card reader.
Run Etcher in you PC.
Etcher
Click over Select Image and select Raspbian disk image previously downloaded. Now Etcher should also have recognised your SD card. Otherwise, click change and select correct SD card.
Install Buster Etcher
Click on “Flash! button and wait for operation to be completed.
Etcher_3

BONUS

In my case, I don’t want to use an HDMI connection to my TV in order to finalize system setup (my Raspberry will be connected only via WiFi).
So, before using it and after having flashed its SD, let’s configure WiFi and SSH connection directly modifying files inside SD card.
Extract SD card and re-insert it in your PC.
From our File explorer, in “This Computer” we can see 2 SD partitions:
etcher_raspbian_setup_02
We will create a connection configuration file under boot partition.
Open your notepad and paste following lines:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=«your_ISO-3166-1_two-letter_country_code»
network={
     ssid="«your_SSID»"
     psk="«your_PSK»"
     key_mgmt=WPA-PSK
}

Replace «your_ISO-3166-1_two-letter_country_code» with your ISO Country Code (such as CA for Canada), «your_SSID» with your wireless access point name and «your_PSK» with your wifi password.
Save this file under boot partition, naming it as “wpa_supplicant.conf”.
In addition, we will create a new file named “ssh” (without extension) under boot partition also to enable SSH in our raspberry. It is not important what is contained in this file: when Pi boots, it looks for the “ssh” file and if it is found, SSH is enabled and then the file is deleted.
So, let’s open a new Notepad window:
Notepad_WindowNotepad_Window

Go to : File -> Save as

change-default-save-location-windows7.pngchange-default-save-location-windows7.png

Select boot partition in left column.

Insert in “File name” field value “ssh” and click “Save”. Be aware that notepad sometimes saves files adding “.txt” extension. So, control saved file and be sure that its extension is NOT included.

Extract SD card from your SD reader and insert it in your raspberry.

Final Operations

Power the Raspberry on, wait a few minutes for first boot, check its IP address in your router and connect to it from Putty (or whatever connection program you are using for ssh) using default ssh port (22).

Default user: pi
Default password: raspberry

Make the OS up-to-date:

sudo apt-get update
sudo apt-get upgrade

Enjoy!

Please, share with your friends in your social network if you like this article!

If you found this article useful, please consider offering me a coffee with Donation button on top of his page. Maintaining a blog has costs (Domain registration, hosting hardware, power supply, etc) and also 50 cents can make the difference in helping a blogger.

AliExpress.com Product - Raspberry Pi Zero W (Wireless) (new 2017 model)AliExpress.com Product - Memory Card 32GB 16GB 8GB 128GB 64GB Microsd
Please follow and like us:
error