美文网首页
2019-10-26 树莓派pi 4 烧录操作系统

2019-10-26 树莓派pi 4 烧录操作系统

作者: AK蜗牛 | 来源:发表于2019-10-28 07:51 被阅读0次

OK,我用的mac,操作起来很简单。

  1. 下载操作系统,比如下载了2019-09-26-raspbian-buster-full.img,官方推荐版本。
  2. https://github.com/RayViljoen/Raspberry-PI-SD-Installer-OS-X下载Rapberry-PI-SD-Installer-OS-X 文件。
  3. 解压出来到”Raspberry-PI-SD-Installer-OS-X-master” 文件夹,把img文件移动到这个目录。
  4. 到终端里,进入这个文件夹。运行下面命令:
Anthonys-MacBook-Pro-4:Raspberry-PI-SD-Installer-OS-X-master anthony$ sudo ./install 2019-09-26-raspbian-buster-full.img
Password:

__________.___  .___                 __         .__  .__
\______   \   | |   | ____   _______/  |______  |  | |  |   ___________
 |     ___/   | |   |/    \ /  ___/\   __\__  \ |  | |  | _/ __ \_  __ \
 |    |   |   | |   |   |  \___ \  |  |  / __ \|  |_|  |_\  ___/|  | \/
 |____|   |___| |___|___|  /____  > |__| (____  /____/____/\___  >__|
                         \/     \/            \/               \/

------------------------------------------------------------------------------------
   Filesystem                          Size   Used  Avail Capacity iused      ifree %iused  Mounted on
------------------------------------------------------------------------------------
1) /dev/disk1s5                       233Gi   10Gi   11Gi    48%  481743 2441271897    0%   /
....
8) /dev/disk3s1                       120Gi  8.3Mi  120Gi     1%      66     980662    0%   /Volumes/Untitled
-----------------------------------------------------------------------------------

Select the disk to use by enetering the disk number.
*** MAKE SURE YOU SELECT THE CORRECT DISK ***
*** Refer to the Readme if uncertain ***

Use disk [ 1, 2, 3, 4, 5, 6, 7, 8 ] #

这里的8就是SD卡(128G的一张),千万不要选错了,因为会抹掉卡上所有数据。
选8,出现下面提示

Unmounting Disk
Volume  on disk3s1 unmounted
Writing image
Ctrl+T to see progress..
6496+0 records in
6496+0 records out
6811549696 bytes transferred in 417.269549 secs (16324100 bytes/sec)
Ejecting Disk
Disk /dev/rdisk3 ejected
All Done!

需要一段时间才能写好,现在可以把这张卡拿去启动树莓派了。

相关文章

网友评论

      本文标题:2019-10-26 树莓派pi 4 烧录操作系统

      本文链接:https://www.haomeiwen.com/subject/lohpvctx.html