Burn Linux image under Mac OSX

Hello,

The documentation refer to Linux and Windows. Here is how on OSX. https://bananapi.gitbooks.io/banana-pi-bpi-r2-open-source-smart-router/content/bpi-r2-quick-start.html

Open a shell. list the disk, umount the disk, copy the image into microSD

  1. List the disk (microSD)

$ diskutil list /dev/disk0 (internal, physical): …

/dev/disk1 (internal, virtual): …

/dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *31.9 GB disk2 1: Windows_FAT_32 BPI-BOOT 268.4 MB disk2s1 2: Linux 7.4 GB disk2s2

  1. umount the disk (microSD)

$ diskutil unmountDisk /dev/disk2

Unmount of all volumes on disk2 was successful

  1. Copy the image into microSD

$ sudo dd if=~/banana-pi-r2/2017-08-01-ubuntu-16.04-mate-desktop-preview2-bpi-r2-sd-emmc.img of=/dev/disk2 Password: 15269888+0 records in 15269888+0 records out 7818182656 bytes transferred in 2979.993652 secs (2623557 bytes/sec)