Created
January 11, 2013 01:00
-
-
Save xoosye/4507115 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.csdn.net/jiangbo_hit/article/details/6952151 | |
$ hdiutil convert -format UDRW -o /path/to/generate/img/file /path/to/your/iso/file #将iso转换为img.dmg文件 | |
$ diskutil list #查看USB的盘符 | |
$ diskutil unmountDisk /dev/diskN #卸载USB磁盘 | |
$ sudo dd if=ubuntu.img.dmg of=/dev/diskN bs=1m #将镜像写入USB | |
$ diskutil eject /dev/diskN #弹出USB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quite useful! Tks a lot!