在Mac上制作ubuntu USB安装盘
1. 制作系统img
1 | # 转换命令 |
2. 查看U盘
挂载的目录
比如我这边挂载的路径是 /dev/disk2
1 | $ diskutil list |
3. 取消 U盘
的挂载(不要拔掉)
1 | $ diskutil unmountDisk /dev/disk2 |
4. 写入 U盘
注意:此处是 rdisk2
而不是 disk2
,执行命令后大约等待个10分钟左右,中途不管终端是否有显示,不要直接ctrl + C
退出或拔出U盘
。
1 | $ sudo dd if=ubuntu-18-04.img.dmg of=/dev/rdisk2 bs=1m |
- 本文链接:https://blog.springfavor.cn/2019/12/19/在Mac上制作ubuntu-USB安装盘/
- 版权声明:The author owns the copyright, please indicate the source reproduced.