admin管理员组

文章数量:1130349

Mac下制作Ubuntu-20.04的U盘启动盘

1.用hdiutil将ISO转dmg

cd ubuntu镜像文件所在的路径

hdiutil convert -format UDRW -o ubuntu-20.04-desktop-amd64.dmg   ubuntu-20.04-desktop-amd64.iso

2.查看U盘的序号

diskutil list

下面用diskN代替你的U盘序号

3.卸载U盘

diskutil unmountDisk /dev/diskN

4.将镜像写入U盘

sudo dd if=./ubuntu.img.dmg of=/dev/rdiskN bs=1m 

5.弹出U盘

diskutil eject /dev/diskN

Mac下制作Ubuntu-20.04的U盘启动盘

1.用hdiutil将ISO转dmg

cd ubuntu镜像文件所在的路径

hdiutil convert -format UDRW -o ubuntu-20.04-desktop-amd64.dmg   ubuntu-20.04-desktop-amd64.iso

2.查看U盘的序号

diskutil list

下面用diskN代替你的U盘序号

3.卸载U盘

diskutil unmountDisk /dev/diskN

4.将镜像写入U盘

sudo dd if=./ubuntu.img.dmg of=/dev/rdiskN bs=1m 

5.弹出U盘

diskutil eject /dev/diskN

本文标签: 启动盘MacUbuntu