今天爱分享给大家带来苹果电脑mac制作ubuntu 18.04 U盘启动盘【详细教程】,希望能够帮助到大家。
最近由于需要安装ubuntu系统,手头上没有windows电脑,我这里分享一下在mac上免费的制作Ubuntu U盘启动盘的操作:
首先插入U盘到mac上
diskutil list
/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS 10145-0629 499.9 GB disk0s2 /dev/disk1 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *31.0 GB disk1 1: Windows_FAT_32 31.0 GB disk1s4 /dev/disk2 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +100.0 MB disk2 1: Apple_HFS DAEMON Tools 100.0 MB disk2s1 /dev/disk3 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +22.0 MB disk3 1: Apple_partition_map 32.3 KB disk3s1 2: Apple_HFS DAEMON Tools 6.1.346... 22.0 MB disk3s2
我的U盘在/dev/disk1,读者可以根据自己的情况找到U盘的位置。
卸载该U盘:
diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful
然后转换ubuntu18.04镜像:
hdiutil convert -format UDRW -o ~/Documents/应用软件/linux/ubuntu-18.04.3-desktop-amd64.img ~/Documents/应用软件/linux/ubuntu-18.04.3-desktop-amd64.iso
正在读取Driver Descriptor Map(DDM:0)… 正在读取Ubuntu 18.04.3 LTS amd64 (Apple_ISO:1)… 正在读取Apple(Apple_partition_map:2)… 正在读取Ubuntu 18.04.3 LTS amd64 (Apple_ISO:3)… ............................................................................. 正在读取EFI(Apple_HFS:4)… ............................................................................. 正在读取Ubuntu 18.04.3 LTS amd64 (Apple_ISO:5)… .............................................................................. 已耗时: 6.597s 速度:301.1M 字节/秒 节省:0.0%
制作U盘启动盘,注意这里的disk1变成了rdisk1:
sudo dd if=/Users/admin/Documents/应用软件/linux/ubuntu-18.04.3-desktop-amd64.img.dmg of=/dev/rdisk1 bs=1m
1986+1 records in 1986+1 records out 2082816000 bytes transferred in 84.487730 secs (24652290 bytes/sec)