Created
April 8, 2016 04:55
-
-
Save alghanmi/597efafc1f2472ec243bb443fe36f1c4 to your computer and use it in GitHub Desktop.
Create a USB drive from ISO image on Mac
This file contains 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
# Convert ISO to IMG format | |
hdiutil convert -format UDRW -o iso-image.img iso-image.iso | |
# Find USB Drive number N | |
diskutil list | |
diskutil unmountDisk /dev/diskN | |
# Write image to drive /dev/diskN where N is the disk number | |
sudo dd if=iso-image.img.dmg of=/dev/diskN | |
# Eject the drive | |
diskutil eject /dev/diskN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment