1.mac Disk Utility erase SD card as fat
2. df-h See SD card number
3. Uninstalling the SD card
Diskutil UNMOUNT/DEV/DISK2S2
Volume UNTITLED on Disk2s2 unmounted
4. List SD card partitions
Diskutil List
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0:guid_partition_scheme 500.3 GB Disk0
1:efi EFI 314.6 MB disk0s1
2:apple_apfs Container disk1 500.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0:apfs Container Scheme-+500.0 GB Disk1
Physical Store Disk0s2
1:apfs Volume Macintosh HD 281.1 GB disk1s1
2:apfs Volume preboot 21.9 MB disk1s2
3:apfs Volume Recovery 519.9 MB disk1s3
4:apfs Volume VM 3.2 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0:guid_partition_scheme *15.7 GB Disk2
1:efi EFI 209.7 MB disk2s1
2:microsoft Basic Data UNTITLED 15.5 GB disk2s2
Source: http://www.cnblogs.com/xiaobo-Linux/
5. Burning
? Desktop sudo dd bs=4m if=2017-09-07-raspbian-stretch.img of=/dev/disk2
Password:
1172+1 Records in
1172+1 Records out
4916019200 bytes transferred in 1004.623877 secs (4893393 bytes/sec)
6. Uninstalling the SD card
? Desktop diskutil unmountdisk/dev/disk2
Unmount of all volumes on Disk2 is successful
Mac to sd card burning Raspberry Pi system