Search This Blog

Tuesday, November 1, 2016

Writing an ISO image to USB on Mac OSX

First up find which disk the USB is using:


diskutil list


then you will see a list of devices like this

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            499.4 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           +499.0 GB   disk1
                                 Logical Volume on disk0s2
                                 Unencrypted
/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.6 GB    disk3
   1:             Windows_FAT_32 KINGSTON                15.6 GB    disk3s1


(eg if I wished to target the KINGSTON 16GB USB drive then it'd be /dev/disk3)


diskutil unmountdisk /dev/diskN


then


sudo dd if=/data/yourfile.iso of=/dev/diskN bs=1m


(wait)


should be done!

No comments: