mac下制作U启动盘
1.查询分区
bogon:Downloads lj$ df -hP Filesystem 512-blocks Used Available Capacity Mounted on /dev/disk1 234573824 57011376 177050448 25% / devfs 371 371 0 100% /dev map -hosts 0 0 0 100% /net map auto_home 0 0 0 100% /home /dev/disk2s1 3906961400 1423011000 2483950400 37% /Volumes/Elements /dev/disk3s1 15370904 2136 15368768 1% /Volumes/U
2.把USB unmount
bogon:Downloads lj$ diskutil unmountDisk /dev/disk3s1
3.. 把系统iso复制到u盘
bogon:Downloads lijie$ sudo dd if=ARMMUIx3.iso of=/dev/disk3 1150560+0 records in 1150560+0 records out 589086720 bytes transferred in 417.868333 secs (1409742 bytes/sec)
-----------------------------------------------
快速几步:
1.把iso转成dmg格式
- hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/kubuntu.iso
2. 查找USB有设备盘符
- diskutil list
3. 把USB unmount
- diskutil unmountDisk /dev/diskN
- N是查找到u盘 可能是1,2这样的数字
4. 把dmg复制到u盘
- sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
If you see the error dd: Invalid number `1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M. If you see the error dd: /dev/diskN: Resource busy make sure the disk is not in use. Start the "Disk Utility.app" and unmount (not eject) the drive.
5. 弹出U盘
- diskutil eject /dev/diskN
6. 重启时按住Option键,选择usb启动。
相关推荐
tianyayi 2020-01-13
Summer的小屋 2019-12-20
WenFY的CSDN 2019-12-15
WenFY的CSDN 2019-12-08
wadetutu 2019-12-02
FruitDrop 2015-02-14
xiaohouye 2019-10-28
顺其自然 2011-02-13
jackalwb 2019-10-23
gglinux 2019-09-11
xury 2018-09-22
studylinux 2015-02-14
Macan生活点滴 2014-11-24
wennuanwarm 2013-05-21
连点 2017-04-13
AxDoctor 2016-09-06