Install system

Last login: Sun Jan 28 15:05:21 on console
shitongyudeMacBook-Pro:~ eddy$ hdiutil convert -format UDRW -o ~/Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64 ~/Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.iso
hdiutil: convert failed - 无此文件或目录
shitongyudeMacBook-Pro:~ eddy$ hdiutil convert -format UDRW -o /Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64 /Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.iso
正在读取Driver Descriptor Map(DDM:0)…
正在读取Ubuntu 16.04.3 LTS amd64        (Apple_ISO:1)…
正在读取Apple(Apple_partition_map:2)…
正在读取Ubuntu 16.04.3 LTS amd64        (Apple_ISO:3)…
............................................................................
正在读取EFI(Apple_HFS:4)…
............................................................................
正在读取Ubuntu 16.04.3 LTS amd64        (Apple_ISO:5)…
..............................................................................
已耗时: 6.972s
速度:217.1M 字节/秒
节省:0.0%
created: /Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.dmg
shitongyudeMacBook-Pro:~ eddy$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.7 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.7 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            237.4 GB   disk1s1
   2:                APFS Volume Preboot                 19.2 MB    disk1s2
   3:                APFS Volume Recovery                506.6 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.0 GB     disk2
   1:                  Apple_HFS 未命名                  8.0 GB     disk2s1

shitongyudeMacBook-Pro:~ eddy$ diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
shitongyudeMacBook-Pro:~ eddy$ sudo dd if=~/Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.dmg of=/dev/rdisk2 bs=1m
Password:
dd: /Users/eddy/Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.dmg: No such file or directory
shitongyudeMacBook-Pro:~ eddy$ sudo dd if=/Users/eddy/document/linux/ubuntu-16.04.3-desktop-amd64.dmg of=/dev/rdisk2 bs=1m
1514+1 records in
1514+1 records out
1587609600 bytes transferred in 99.642610 secs (15933039 bytes/sec)
shitongyudeMacBook-Pro:~ eddy$ diskutil eject /dev/disk2
Disk /dev/disk2 ejected

你可能感兴趣的:(Install system)