8,460
个编辑
更改
→基于Ubuntu PC将Linux镜像烧写到TF卡的方法
== 基于Ubuntu PC将Linux镜像烧写到TF卡的方法 ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''注意,这里说的Linux镜像具体指的是从[http://www.orangepi.cn/html/serviceAndSupporthardWare/computerAndMicrocontrollers/service-and-support/indexOrange-Pi-3B.html Orange Pi资料下载页面]下载的Debian、Ubuntu这样的Linux发行版镜像,Ubuntu PC指的是安装了Ubuntu系统的个人电脑。'''</big>|}
# 首先准备一张16GB或更大容量的TF卡,TF卡的传输速度必须为'''class10'''级或'''class10'''级以上,建议使用闪迪等品牌的TF卡
# 下载balenaEtcher软件,下载地址为
::{| class="wikitable" style="width:800px;"
|-
|
[https://www.balena.io/etcher/ '''https://www.balena.io/etcher/''']
|}
<ol start="4" style="list-style-type: decimal;">
<li><p>然后选择下载Linux版本的软件即可</p>
<p>[[File:media/image57.png|430x163px]]</p></li>
<li><p>从[http://www.orangepi.cn/html/serviceAndSupporthardWare/indexcomputerAndMicrocontrollers/service-and-support/Orange-Pi-3B.html '''Orange Pi的资料下载页面''']下载想要烧录的Linux操作系统镜像文件压缩包,然后使用解压软件解压,解压后的文件中,以”'''.img'''”结尾的文件就是操作系统的镜像文件,大小一般都在2GB以上</p>
<p>7z结尾的压缩包的解压命令如下所示</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''7z x Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z'''</p>
<p>test@test:~$ '''ls Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.*'''</p>
<p>Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.sha #校验和文件</p>
<p>Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img #镜像文件</p>|}</li>
<li><p>解压镜像后可以先用'''sha256sum -c *.sha'''命令计算下校验和是否正确,如果提示'''成功'''说明下载的镜像没有错,可以放心的烧录到TF卡,如果提示'''校验和不匹配'''说明下载的镜像有问题,请尝试重新下载</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sha256sum -c *.sha'''</p>
<p>Orangepi3b_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img: OK</p>|}</li>
<li><p>然后在Ubuntu PC的图形界面双击'''balenaEtcher-1.5.109-x64.AppImage'''即可打开balenaEtcher('''无需安装'''),balenaEtcher打开后的界面显示如下图所示</p>
<p>[[File:media/image58.png|423x251px]]</p></li>
<p>[[File:media/image60.png|429x184px]]</p></li></ol>
<ol start="12" style="list-style-type: decimal;">
<li><p>Linux镜像烧录完后,balenaEtcher默认还会对烧录到TF卡中的镜像进行校验,确保烧录过程没有出问题。如下图所示,显示绿色的进度条就表示镜像已经烧录完成,balenaEtcher正在对烧录完成的镜像进行校验</p>
<span id="烧录linux镜像到emmc中的方法"></span>
== 烧录Linux镜像到eMMC中的方法 ==