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的更多相关文章

  1. Install Docker on Mac OS X(转)

    Install Docker on Mac OS X You can install Docker using Boot2Docker to run docker commands at your c ...

  2. Install Ansible on Mac OSX

    from: https://devopsu.com/guides/ansible-mac-osx.html and : https://devopsu.com/guides/ansible-post- ...

  3. Install Python on Mac (Anaconda)

    Install Python on Mac (Anaconda) 标签(空格分隔): 运维 This blog is copy from the link: https://medium.com/@G ...

  4. Ubuntu install TensorFlow

    /******************************************************************************** * Ubuntu install T ...

  5. ubuntu install zabbix

    ubuntu install zabbix reference1 reference2 some ERRORS raise during install process, may it help. z ...

  6. install Django in mac

    install Eclipse & Python(pydev) in mac install django in mac $ curl -O https://pypi.python.org/p ...

  7. Ubuntu install android studio

    Ubuntu install android studio 1. 安装 openjdk8,并在配置文件 /etc/profile 中,追加如下内容: sudo aptitude install ope ...

  8. ubuntu install redis

    ubuntu install redis apt-get update apt-get install redis-server redis-server --daemonize yes

  9. ubuntu 安装 swoole 和mac 安装swoole 扩展

    ubuntu php 安装swoole 比较容易 1. 从git下载源码 2. 下载pcre http://sourceforge.net/projects/pcre/files/pcre/8.36/ ...

随机推荐

  1. CSS的Hack技术

    主要是用来解决兼容性的特殊方法: IE都能识别*;标准浏览器(如FF)不能识别*: IE6能识别*,但不能识别 !important, IE7能识别*,也能识别!important,还有# FF不能识 ...

  2. [Python学习] python 科学计算库NumPy—矩阵运算

    NumPy库的核心是矩阵及其运算. 使用array()函数可以将python的array_like数据转变成数组形式,使用matrix()函数转变成矩阵形式. 基于习惯,在实际使用中较常用array而 ...

  3. PHP图片裁剪类

    <?php class ImageTool { //以宽为标准,如果小于宽,则不剪裁 public static function thumb_img_by_width($src_path, $ ...

  4. dede调用img图片

    1.默认的index.htm调用: {dede:arclist row='3' titlelen='30' typeid='1'} <div class="swiper-slide&q ...

  5. discuz sphinx全文检索搜索引擎方案

    基于discuz的索引配置文件,这个配置文件比较灵活,可以根据不同的需求来配置 # # linuxTone full index search configure file # source lt_p ...

  6. 【python+mysql】在python中调用mysql出问题 ImportError: No module named MySQLdb.constants

    遇到如下异常: File "C:\Users\Neil\PycharmProjects\ScrapyDouban\book\book\database.py", line 4, i ...

  7. java并发编程(十)使用wait/notify/notifyAll实现线程间通信

    转载请注明出处:http://blog.csdn.net/ns_code/article/details/17225469 wait()方法:public final void wait()  thr ...

  8. source insight使用

    左键选中后 ctrl+ 跳转到定义 alt+,返回到调用者的程序

  9. User interface

    Styles and Themes value/style <style name="CodeFont" parent="@android:style/TextAp ...

  10. C#_技巧:窗口抖动

    原理 * 窗口抖动:即每隔一段很小的时间,窗口位置发生变化  * 时间控制:利用for循环||利用timer * 窗口位置发生变化:控件Left/Top属性或Location属性, 注:Left/To ...