dd if=/dev/zero of=test bs=1024k count=2048
dd if=/dev/zero of=test bs=1024k count=10240
dd if=/dev/zero of=test bs=8M count=128
mac下用dd制作启动u盘
确定盘符
➜ quick diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS mac 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS 500G 499.8 GB disk1s2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *7.7 GB disk2
1: Windows_NTFS 21 7.7 GB disk2s1
去掉挂载
➜ quick diskutil umountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
用dd写入光盘镜像
➜ quick sudo dd if=/Users/jpuyy/Downloads/CentOS-7.0-1406-x86_64-GnomeLive.iso of=/dev/disk2 bs=1m
Leave a Reply