码迷,mamicode.com
首页 > 其他好文 > 详细

OS X 下iso刻录U盘

时间:2014-12-30 07:05:40      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

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

 

OS X 下iso刻录U盘

标签:

原文地址:http://www.cnblogs.com/got-my-way/p/4192789.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!