Created
May 9, 2013 17:08
-
-
Save kevinvanderlugt/5548914 to your computer and use it in GitHub Desktop.
Creating bootable USB drive from iso.
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
# sometimes creates it as .img.dmg if so just mv *.img.dmg to *.img | |
hdiutil convert /path/to/.iso -format UDRW -o /path/to/target.img | |
# determine the mount *generally for me /dev/disk2* | |
diskutil list | |
# unmount the disk where N is the disk number | |
diskutil unmountDisk /dev/diskN | |
# write the img to the usb disk | |
sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1m | |
# eject the usb disk | |
diskutil eject /dev/diskN | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment