Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Raspberry Pi OS

install

1

sudo apt update
sudo apt full-upgrade
sudo reboot
sudo rpi-update
sudo reboot
sudo rpi-eeprom-update
sudo apt install vim
sudo vim /boot/firmware/config.txt
# Add on bottom
[all]
# dtoverlay=disable-wifi
# dtoverlay=disable-bt
dtparam=pciex1_gen=3
dtparam=cooling_fan=on
dtparam=fan_temp0=50000
dtparam=fan_temp0_hyst=4000
dtparam=fan_temp0_speed=50
dtparam=fan_temp1=60000
dtparam=fan_temp1_hyst=4000
dtparam=fan_temp1_speed=100
dtparam=fan_temp2=65000
dtparam=fan_temp2_hyst=4000
dtparam=fan_temp2_speed=150
dtparam=fan_temp3=70000
dtparam=fan_temp3_hyst=5000
dtparam=fan_temp3_speed=200

Use repository mirror (Optional)

2

sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak
sudo nano /etc/apt/sources.list.d/raspi.list
deb https://mirrors.ustc.edu.cn/debian bullseye main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian bullseye main contrib non-free
deb https://mirrors.ustc.edu.cn/debian bullseye-updates main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian bullseye-updates main contrib non-free
# deb https://mirrors.ustc.edu.cn/debian bullseye-backports main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian bullseye-backports main contrib non-free

reference

cross-requirement

raspberry-pi-os


  1. Installing Raspberry Pi OS on an NVMe SSD (Command-Line Style)

  2. USTC Mirror Help - Raspbian