Created
June 3, 2017 08:54
-
-
Save ast/7ed7d2c65c5e0b372373d6a77b6da6b8 to your computer and use it in GitHub Desktop.
Writing a disk image to an SD card/USB flash drive on OSX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List disks so you know which ones which. | |
$ diskutil list | |
# Unmount if mounted. | |
$ diskutil unmountDisk /dev/diskX | |
# Write iso with dd. | |
$ sudo dd if=ubuntu-17.04-desktop-amd64.iso of=/dev/diskX bs=1M | |
# You can press ctrl-t to check progress. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment