zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    OC实现个人中心页面
    3D Touch开发技巧的笔记
    APP快速搭建框架
    Swift10大开源项目记录
    iOS进阶学习笔记
    如何使启动界面图片全屏
    【DRF框架】restfull规范
    【DRF框架】版本控制组件
    【DRF框架】路由组件
    【DRF框架】视图组件
  • 原文地址:https://www.cnblogs.com/got-my-way/p/4192789.html
Copyright © 2011-2022 走看看