2. Installing the OS

Required Components

  • Raspberry Pi 5B

  • A Personal Computer

  • A Micro SD card

Installation Steps

  1. 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.

  2. 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.

  3. Insert your SD card into your computer or laptop’s SD card slot.

  4. Launch the Raspberry Pi Imager application by clicking its icon or typing rpi-imager in your terminal.

  5. Click CHOOSE DEVICE and select your specific Raspberry Pi model from the list (Note: Raspberry Pi 5 is not applicable).

  6. 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.

  7. 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.

  8. 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.

  9. Define a hostname for your Raspberry Pi.


    The hostname is your Raspberry Pi’s network identifier. You can access your Pi using <hostname>.local or <hostname>.lan.

  10. 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.

  11. Configure the wireless LAN by providing your network’s SSID and Password.


    Set the Wireless LAN country to the two-letter ISO/IEC alpha2 code corresponding to your location.

  12. Click SERVICES and activate SSH for secure, password-based remote access. Remember to save your settings.

  13. Confirm your selected settings by clicking Yes.

  14. 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.

  15. The OS installation process will commence on the SD card. A confirmation dialog will appear upon completion.

  16. Insert the SD card set up with Raspberry Pi OS into the microSD card slot located on the underside of the Raspberry Pi.