2. Installing the OS¶
Raspberry Pi 5B
A Personal Computer
A Micro SD card
Visit the Raspberry Pi software download page at Raspberry Pi Imager. Choose the Imager version compatible with your operating system. Download and open the file to initiate installation.
A security prompt may appear during installation, depending on your operating system. For example, Windows might display a warning message. In such cases, select More info and then Run anyway. Follow the on-screen guidance to complete the installation of the Raspberry Pi Imager.
Insert your SD card into your computer or laptop’s SD card slot.
Launch the Raspberry Pi Imager application by clicking its icon or typing
rpi-imagerin your terminal.
Click CHOOSE DEVICE and select your specific Raspberry Pi model from the list (Note: Raspberry Pi 5 is not applicable).
Select CHOOSE OS and then choose Raspberry Pi OS (Legacy).
Please do not install the Bookworm version as the speaker will not work.
You need to install the Raspberry Pi OS (Legacy) version - Debian Bullseye.
Click Choose Storage and select the appropriate storage device for the installation.
Ensure you select the correct storage device. To avoid confusion, disconnect any additional storage devices if multiple ones are connected.
Click NEXT and then EDIT SETTINGS to tailor your OS settings. If you have a monitor for your Raspberry Pi, you can skip the next steps and click ‘Yes’ to begin the installation. Adjust other settings later on the monitor.
Define a hostname for your Raspberry Pi.
The hostname is your Raspberry Pi’s network identifier. You can access your Pi using
Create a Username and Password for the Raspberry Pi’s administrator account.
Establishing a unique username and password is vital for securing your Raspberry Pi, which lacks a default password.
Configure the wireless LAN by providing your network’s SSID and Password.
Wireless LAN countryto the two-letter ISO/IEC alpha2 code corresponding to your location.
Click SERVICES and activate SSH for secure, password-based remote access. Remember to save your settings.
Confirm your selected settings by clicking Yes.
If the SD card contains existing data, ensure you back it up to prevent data loss. Proceed by clicking Yes if no backup is needed.
The OS installation process will commence on the SD card. A confirmation dialog will appear upon completion.
Insert the SD card set up with Raspberry Pi OS into the microSD card slot located on the underside of the Raspberry Pi.