首页 > 系统服务 > 详细

Generate Ubuntu Install Media On Mac

时间:2016-01-21 23:58:09      阅读:483      评论:0      收藏:0      [点我收藏+]

Opps, my computer system was broken again... Let's repire it.


Introduction

The system of my PC is broken. I could enter the UEFI setting. So that means I coud start my PC using USB flash drive. But first of all, I need a Installer driver.

ISO to DMG

I have a xxx.iso. I need to convert it to xxx.dmg file.

hdiutil convert -format UDRW -o xxx.img xxx.iso

The process is very fast.

Install to USB Flash Driver

Firstly, unmount the target driver.

# Obtain your disk name.
diskutil list
# assuming that your USB flash driver is named disk9
diskutil unmountDisk /dev/disk9

Then, write data to this flash. Be careful not to mistake the flash name.

# The following command cost some minutes.
sudo dd if=where your img.dmg file exists of=/dev/rdisk9 bs=1m
# finally eject your flash. All done.
diskutil eject /dev/disk9

Generate Ubuntu Install Media On Mac

原文:http://www.cnblogs.com/darryo/p/Generate-Ubuntu-Install-Media-On-Mac.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!