插入U盘
打开终端,用diskutil查看磁盘信息
diskutil list
输出:
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *209.7 MB disk1
1: Apple_HFS BlueStacks App Player 209.7 MB disk1s1
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *8.0 GB disk2
1: Windows_NTFS 8.0 GB disk2s1
其中/dev/disk2就是U盘
将U盘卸载
diskutil unmountDisk /dev/disk2
用dd命令制作安装盘
sudo dd if=~/Downloads/CentOS-6.5-x86_64-LiveCD.iso of=/dev/disk2 bs=1m