Write ISO to USB stick

Its actualy pretty easy to do this in the terminal:

Code:

$ diskutil list

and it returns something like
Code:

/dev/disk0
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:      GUID_partition_scheme                        *1.0 TB     disk0
1:                        EFI                         209.7 MB   disk0s1
2:                  Apple_HFS Macintosh HD            999.9 GB   disk0s2
/dev/disk1
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:     FDisk_partition_scheme                        *4.1 GB     disk1
1:                 DOS_FAT_32 GENTOO LIVE             4.1 GB     disk1s1

Now unmount the disk using diskutil replace the disk number with the id of your usb stick

Code:

$ diskutil unmountDisk /dev/disk1

And use DD to write again replace the disk number
Code:

dd if={ISO_IMAGE_HERE_} of=/dev/disk1 bs=1m

Replace if={} with the path to your iso image

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>