Created
February 24, 2015 12:15
-
-
Save tjarksaul/243cf3f263755eb33e98 to your computer and use it in GitHub Desktop.
Create bootable stick from .iso on OS X
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
# HOWTO: Make bootable USB stick from ISO on OSX | |
# determine /dev/diskN name of USB stick (e.g. /dev/disk2) | |
diskutil list | |
# convert image.iso to image.dmg (hdiutil adds .dmg automatically) | |
hdiutil convert -format UDRW -o image image.iso | |
# unmount (don't eject!) usb stick | |
diskutil unmountDisk /dev/disk2 | |
# don't f*** up device name in next step or your disk will be toast | |
sudo dd if=image.dmg of=/dev/disk2 bs=10m | |
# unmount usb stick again and use in target system | |
diskutil unmountDisk /dev/disk2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment