OS X 下iso刻录U盘(系统安装启动盘)

1. 查看盘

$diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         319.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *318.9 GB   disk1
                                 Logical Volume on disk0s2
                                 19E495B4-6D35-4E86-BB85-E12941607B8F
                                 Unlocked Encrypted
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *7.8 GB     disk2
   1:                       0xEF                         6.4 MB     disk2s2

/dev/disk2就是待写入的U盘

2. unmount U盘

$diskutil unmountDisk /dev/disk2

然后再看

$diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         319.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *318.9 GB   disk1
                                 Logical Volume on disk0s2
                                 19E495B4-6D35-4E86-BB85-E12941607B8F
                                 Unlocked Encrypted
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *7.8 GB     disk2
   1:                       0xEF                         6.4 MB     disk2s2

3. 写入U盘

$sudo dd if=~/Downloads/CentOS-7.0-1406-x86_64-Everything.iso of=/dev/disk2 bs=1m

 

posted @ 2014-12-30 06:26  Beef Liu  阅读(394)  评论(0编辑  收藏  举报