How to install Raspberry Pi OS?

 Here’s the straightforward way to install Raspberry Pi OS, step by step.




1. Prepare what you need

  • Hardware

    • Raspberry Pi board (any supported model)

    • microSD card (8 GB minimum, 16–32 GB recommended, Class 10)

    • Card reader for your PC

    • Power supply for the Pi

    • (Optional) HDMI cable + monitor, USB keyboard/mouse

  • On your computer

    • A PC running Windows, macOS, or Linux

    • Raspberry Pi Imager (official tool)


2. Download and install Raspberry Pi Imager

  1. Go to the official Raspberry Pi website and download Raspberry Pi Imager for your OS.

  2. Install it like a normal application and then open it.

Imager handles downloading the correct Raspberry Pi OS image and writing it to the SD card for you.


3. Flash Raspberry Pi OS to the microSD card

  1. Insert the microSD card into your computer.

  2. In Raspberry Pi Imager:

    • Click Choose Device (if available) and select your Pi model (e.g. “Raspberry Pi 4”).

    • Click Choose OS

      • For most users: Raspberry Pi OS (32-bit) with desktop.

      • For server/headless: Raspberry Pi OS Lite.

    • Click Choose Storage and pick your microSD card.

  3. (Recommended) Click the gear ⚙ icon (advanced options) if Imager shows it:

    • Set hostname (e.g. raspberrypi)

    • Enable SSH (if you want headless access) and set a username/password

    • Configure Wi-Fi SSID & password

    • Set locale/timezone/keyboard layout

  4. Click WRITE (or “Next” → “Yes”) and wait until it finishes.

  5. When it’s done, safely eject the SD card.


4. First boot on the Raspberry Pi

  1. Insert the prepared microSD card into the Raspberry Pi.

  2. Connect:

    • HDMI to monitor

    • USB keyboard and mouse (unless headless)

    • Network cable or rely on Wi-Fi (if configured)

  3. Plug in the power supply.

The Pi will:

  • Boot into Raspberry Pi OS

  • On first boot with desktop:

    • Show a setup wizard to:

      • Select language/region/timezone

      • Change default password

      • Connect Wi-Fi (if not preconfigured)

      • Run updates

Follow the on-screen instructions.


5. (Optional) Headless setup (no monitor)

If you want to run the Pi without screen/keyboard:

  • Use Imager’s advanced options (gear icon) to:

    • Enable SSH

    • Set Wi-Fi credentials

    • Set a custom user and password

  • After first boot, find the Pi’s IP (from router or network scanner).

  • From your PC:

    • On Windows: use PuTTY or ssh in PowerShell

    • On macOS/Linux:

      ssh username@raspberrypi.local
  • Log in and you’re in the terminal of Raspberry Pi OS.


6. Update the system after install

Once booted, update packages:

sudo apt update sudo apt full-upgrade -y sudo reboot

评论

此博客中的热门博文

Detailed Explanation of STM32 HAL Library Clock System

How To Connect Stm32 To PC?

How do you set up ADC (Analog-to-Digital Converter) in STM32?