Generate Ubuntu Install Media On Mac
2016-01-21 22:29
337 查看
Opps, my computer system was broken again... Let's repire it.
The process is very fast.
Then, write data to this flash. Be careful not to mistake the flash name.
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
相关文章推荐
- 遥望布达拉——DAY14 左贡-邦达
- Cordys BOP租户使用中常见疑问——租户对接口进行授权
- 动态规划-三角形
- C语言结构体
- Tomcat设置IP,实现局域网内机器访问
- 【转】细说new与malloc的10点区别
- Bare Medal on BCM2835 and BCM2836
- 第十篇 javascript基础语法
- java简单数据类型
- leetcode--Unique Paths && Unique Paths ii
- centos下的lnmp环境搭建
- UVA 1608 Non-boring sequences (递归分治)
- CS1.6 for win7 win10
- hexo静态博客的安装及应用实践记录
- google verify your account this device was reset
- 数组循环移位算法
- android的Binder机制入门
- 小球下落
- What is Instance Initializer in Java?
- 学习记录