LoginSignup
29

More than 3 years have passed since last update.

MacでCentOS8のbootable USBを作成する手順

Last updated at Posted at 2016-08-28

CentOS8のISOをダウンロード

axel -a -n 10 -o CentOS.iso http://ftp.jaist.ac.jp/pub/Linux/CentOS/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso

Axelがない場合は

brew install axel

.isoを.imgに変換

CentOSのISOがあるディレクトリで以下を実行

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

USBに書き込み

USBを挿した状態で以下のコマンドを実行

diskutil list

USBのディスクを見つけたらアンマウントする
ex.( /dev/disk2の場合

diskutil unmountDisk /dev/disk2

実際の書き込み処理(長い)

sudo dd if=CentOS.img.dmg of=/dev/disk2 bs=1m

終わり!

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
29