Experiment No.
6 Date:
Load the OS in Raspberry pi
Aim:
To setup Raspberry Pi by installing Raspberry Pi OS.
Hardware requirements:
1. A Raspberry Pi single-board computer
2. A microSD card
3. An internet-connected computer
4. A way to connect the microSD card to the computer (microSD slot or microSD reader)
Installation Procedure:
The Raspberry Pi boots from a microSD card. You need to install Raspberry Pi OS (formerly
called Raspbian) on the microSD card you will use with your Pi:
1. Connect the microSD card to your computer using microSD card reader.
2. Download the Raspberry Pi Imager and launch it.
3. Click CHOOSE DEVICE. Select your model of Pi.
4. Click CHOOSE OS. Select Raspberry Pi OS (other).
5. Select Raspberry Pi OS Full (64-bit) from the menu.
6. Click CHOOSE STORAGE. From the list of devices, select the microSD card you
intend to use in your Raspberry Pi. If no devices are listed, make sure your microSD
card is connected to your computer correctly.
7. Configure your Raspberry Pi for remote access. Click Next. When prompted to apply
OS customization settings, select EDIT SETTINGS.
8. Check Set hostname and enter the name you would like to access the Pi by in that
field:
9. There are two ways you can secure your Raspberry Pi: with an SSH key or with
password authentication.
- For a learning project or a fun hobby project, we recommend using password
authentication because it is easiest to set up for first-time users.
- For production use, we recommend using SSH keys for more secure
authentication; only someone with the private SSH key will be able to
authenticate to your system.
- Select the checkbox next to Set username and password and set a username (for
example, your first name) and a unique password that you will use to log into the Pi
10. Select the SERVICES tab and check Enable SSH.
11. Lastly, connect your Pi to Wi-Fi. Check Configure wireless LAN and enter your
wireless network credentials. SSID (short for Service Set Identifier) is your Wi-Fi
network name, and password is the network password. Change the section Wireless
LAN country to where your router is currently being operated:
12. Click SAVE.
13. Double check your OS and Storage settings and then click YES.
14. You will be prompted to confirm erasing your microSD card: select YES
15. You may also be prompted by your operating system to enter an administrator
password: After granting permissions to the Imager, it will begin writing and then
verifying the Linux installation to the MicroSD card.
16. Remove the microSD card from your computer when the installation is complete.
17. Place the SD card into your Raspberry Pi and boot the Pi by plugging it in to an
outlet. A red LED will turn on to indicate that the Pi is connected to power and wait a
minute to let your Pi boot up.
Result:
Thus, installation of Raspberry Pi OS is successfully completed.