---
title: "【Raspberry Pi】0 - Operating System Installation"
url: "https://ouro.foundation/files/ache0108/raspberry-pi0-operating-system-installation"
id: "f6ef8e1a-344c-4095-b23e-d1f167a03680"
type: "file"
---

# 【Raspberry Pi】0 - Operating System Installation

File by @ache0108 in #ache0108 (all) · .md · 3.2 KB

- Asset id: `f6ef8e1a-344c-4095-b23e-d1f167a03680`
- Page: https://ouro.foundation/files/ache0108/raspberry-pi0-operating-system-installation



## Contents

```md

## I. Operating System Installation
### 1. Download Operating System
- Hardware Configuration (Presumed to be Raspberry Pi 5)
  - Processor: Broadcom BCM2711 quad-core Cortex‑A72 (ARMv8) 64-bit SoC @ 1.5GHz
  - Networking: Dual-band WiFi/Bluetooth 5.0, Gigabit Ethernet
  - Interfaces: USB 3.0×2, USB 2.0×2, HDMI×2 (standard + micro), DSI, PoE, Audio, Type‑C power, Camera interface
- Download Steps
  - Official image address: raspberrypi.com/software/operating-systems/
  - Recommended version: Raspberry Pi OS (32-bit)
    - Kernel: 6.12
    - Debian: 12 (bookworm)
    - Size: 1165MB
  - Domestic mirror sites (e.g., Tsinghua Tuna) can accelerate download.

### 2. Download Flashing Tool
- Tool: Raspberry Pi Imager (officially recommended)
- Supports: Windows/macOS/Ubuntu
- Ubuntu Installation: `sudo apt install rpi-imager`
- Preparation: Card reader, 32GB Micro SD card.

### 3. Open Flashing Tool
- Operation Flow
  1. Select device model (e.g., Raspberry Pi 5)
  2. Select image file (no need to extract)
  3. Select storage device (confirm SD card drive letter)
- Advanced Settings
  - Preset username/password (default: pi)
  - Configure WiFi (SSID + password)
  - **Must enable SSH service**

### 4. Connect Screen and Raspberry Pi
- Required Interfaces: HDMI (video), Type‑C (power)
- Status Indication
  - Red LED: Off/Shutdown
  - Green LED: Normal operation

### 5. Get Raspberry Pi IP Address
- With Screen: Enter `ifconfig` in terminal
- Without Screen
  1. Execute `arp -a` on the same network
  2. Connect directly via Ethernet cable + network sharing on laptop
- Prerequisite: Devices are on the same WiFi/LAN.

### 6. SSH Login
- Default Credentials
  - Username: pi
  - Password: raspberry
- Security Advice: Change password immediately after first login `passwd`
- Custom Account: Set during flashing process.

### 7. Development Environment Introduction
- GPIO Library
  - Name: python3‑gpiozero
  - Function: Essential for hardware projects
  - Status: Usually pre-installed (version 2.0.1)
- Jupyter Notebook
  - Install: `sudo apt install jupyter`
  - Start: `jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser`
  - Access: `RaspberryPi_IP:8888`, log in using the startup token.

---

## II. Knowledge Summary
| Dimension | Core Content | Technical Details | Operational Key Points |
|---|---|---|---|
| Hardware Intro | Includes WiFi, RAM, CPU, USB, BT, Audio, HDMI, etc. | Presumed Raspberry Pi 5 | Power bottom-left, Screen/USB top-right |
| OS Installation | Download image from official/domestic mirror | Supports 32/64-bit, recommend desktop version | Flash to 32GB SD card, note drive letter |
| Initial Setup | Username/password, enable SSH, config WiFi | Default pi/raspberry | SSH must be enabled for remote access |
| Remote Connection | SSH connect via IP | ifconfig with screen; arp-a/direct connect without | Same network required |
| Dev Environment | gpiozero, Jupyter | Jupyter port 8888 | First login uses token |
| Accessory Expansion | Heatsink, breadboard, sensors | Pay attention to ribbon cable direction | Large breadboard expands to right |
| Troubleshooting | Indicator LEDs, interfaces, flashing | Red=Off, Green=Running | HDMI+Power must connect; Reflash if error |
```

## Use it

- Download: https://database.ouro.foundation/storage/v1/object/public/public-files/dd119e84-657f-4895-b379-7e7f600ab9d7/019dceea-6165-74bf-bdca-d5a60f4140c1.md?v=1777293045821
- Over Ouro MCP: `download_asset(id="f6ef8e1a-344c-4095-b23e-d1f167a03680")` returns the file or a download link.
- Find routes that take it: `get_compatible_routes(asset_id="f6ef8e1a-344c-4095-b23e-d1f167a03680")`, then pass it as `input_assets={"file": "f6ef8e1a-344c-4095-b23e-d1f167a03680"}`.
- From Python: `ouro.files.retrieve("f6ef8e1a-344c-4095-b23e-d1f167a03680")`
