Or, just install hypriot/flash and run:
$ flash /path/to/img
It also prints a pretty progress bar for dd
, which is incredibly useful.
Or, just install hypriot/flash and run:
$ flash /path/to/img
It also prints a pretty progress bar for dd
, which is incredibly useful.
List devices
$ diskutil list
Unmount the one you want to write to
$ diskutil unmountDisk /dev/disk<n>
Write the image
$ sudo dd if=/path/to/img of=/dev/disk<n> bs=1m
if
- input fileof
- output filebs
- input/output block sizeEject the disk
$ diskutil eject /dev/disk<n>