如何用Mac命令行烧录Raspberry镜像

2020-02-20  本文已影响0人  spt_genius

新TF卡显示的内容。

格式化TF卡

zzw:davidzou$ sudo diskutil eraseDisk FAT32 ZZWZM MBRFormat /dev/disk2
Password:
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk2s1 as MS-DOS (FAT32) with name ZZWZM
512 bytes per physical sector
/dev/rdisk2s1: 124704960 sectors in 1948515 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=124735486 bspf=15223 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk2

格式化后

退出挂载

```
diskutil umount /dev/disk2s1 
```

烧录镜像

```
sudo dd if=2017-04-10-raspbian-jessie.img of=/dev/disk2 bs=4m
```
上一篇 下一篇

猜你喜欢

热点阅读