1. View Disk
$diskutil List/dev/Disk0 #: TYPE NAME SIZE IDENTIFIER0: Guid_partition_scheme *320.1GB Disk01: EFI EFI209.7MB disk0s12: Apple_corestorage319.2GB disk0s23: Apple_boot Recovery HD650.0MB disk0s3/dev/Disk1 #: TYPE NAME SIZE IDENTIFIER0: APPLE_HFS Macintosh HD *318.9GB disk1 Logical Volume on disk0s2 19e495b4-6d35-4e86-bb85-e12941607b8f Unlocked Encrypted/dev/Disk2 #: TYPE NAME SIZE IDENTIFIER0: Fdisk_partition_scheme *7.8GB Disk21:0xEF 6.4MB DISK2S2
/dev/disk2 is the USB stick to be written
2. unmount u disk
$diskutil Unmountdisk/dev/disk2
And then look.
$diskutil List/dev/Disk0 #: TYPE NAME SIZE IDENTIFIER0: Guid_partition_scheme *320.1GB Disk01: EFI EFI209.7MB disk0s12: Apple_corestorage319.2GB disk0s23: Apple_boot Recovery HD650.0MB disk0s3/dev/Disk1 #: TYPE NAME SIZE IDENTIFIER0: APPLE_HFS Macintosh HD *318.9GB disk1 Logical Volume on disk0s2 19e495b4-6d35-4e86-bb85-e12941607b8f Unlocked Encrypted/dev/Disk2 #: TYPE NAME SIZE IDENTIFIER0: Fdisk_partition_scheme *7.8GB Disk21:0xEF 6.4MB DISK2S2
3. Write a USB flash drive
$sudoddif=~/downloads/centos-7.0-1406-x86_64-everything.iso of=/ Dev/disk2 bs=1m
OS X ISO burning USB drive