Installing the OS (Common)¶
The Raspberry Pi team offers a user-friendly graphical SD card writing tool compatible with Mac OS, Ubuntu 18.04, and Windows. This is the most convenient option for most users, as it automatically downloads and installs the OS image to the SD card.
Visit the download page: https://www.raspberrypi.org/software/. Choose the Raspberry Pi Imager for your operating system. Once downloaded, open it to begin the installation.
Upon launching the installer, your OS might prompt a security warning. For instance, Windows may show this message:
If you encounter this, select More info and then Run anyway. Follow the on-screen instructions to install the Raspberry Pi Imager.
After installing the Imager, open the application by clicking the Raspberry Pi Imager icon or executing rpi-imager.
Click Choose device and select your Raspberry Pi model from the list.
Next, click Choose OS and pick an operating system to install.
Connect your preferred storage medium, like a microSD card, using an external or built-in SD card reader. Then, click Choose storage and select your storage device.
Ensure to select the correct storage device if multiple are connected. Devices can often be identified by their size. Disconnect others if uncertain.
Press the NEXT button and choose EDIT SETTINGS to access the OS Customization page.
Set the hostname.
The hostname option defines the hostname your Raspberry Pi broadcasts to the network using mDNS. When you connect your Raspberry Pi to your network, other devices on the network can communicate with your computer using
Set the username and password for the Raspberry Pi’s administrator account.
With no default password on the Raspberry Pi, it’s essential to create your own. The username is also customizable.
Configure wireless LAN by entering your network’s SSID and password.
Wireless LAN country to your country’s two-letter ISO/IEC alpha2 code.
Click SERVICES to enable SSH and opt for password-based login. Then click Save.
Click the Yes button.
If your SD card contains files, consider backing them up to avoid permanent loss. If no backup is needed, click Yes.
The completion of the writing process will be indicated by the following window after a wait.