STC214/树莓派用U盘安装openwrt并使用U盘引导(无需SD卡)

Created Tue, 26 Oct 2021 18:01:42 +0800 Modified Tue, 26 Oct 2021 18:01:42 +0800

01.更新bootloader(此步骤需要SD卡)

安装最新rpsi官方系统到SD卡

换源:https://tech.biko.pub/tool#/rpi-apt-sources (广告和引导页面根据个人能力处理)

或者直接使用此脚本命令即可(限制Debian10,其他版本需要到上面链接中选择)

wget -qO- https://tech.biko.pub/resource/rpi-replace-apt-source-buster.sh | sudo bash


02.更新bootloader

apt update   
apt upgrade -y

之后重启系统即可使用 raspi-config 中的更新功能更新到最新的Bootloader

使用usb引导的话可以通过官方刷写工具中的bootloader来操作。


03.openwrt直接写入U盘或者移动硬盘

https://github.com/QuentinHsu/Document-Page/issues/12

使用uuid的话需要进入系统正常引导后才能操作。(不推荐,可能导致卡住过不去,老老实实/dev/sda2就好了)