# 在 Big sue 中製作用來安裝 CentOS 8的 USB 隨身碟 Cent OS下載點 https://www.centos.org/download/ 這裡分為CentOS Linux及CentOS Stream這兩個版本的差別 * Cent OS Linux 為普通使用的Cent OS系統,較為穩定,如果是正常使用用這個就好,這裡我們也用這個。 * CentOS Stream 是頻繁更新的搶鮮版如果追求新的功能,才使用這個版本。 CentOS Linux下載連結,這裡我存到~/Downloads http://centos.cs.nctu.edu.tw/8.2.2004/isos/x86_64/ 開啟終端機 進入下載資料夾 ```Shell Session cd ~/Downloads ``` 使用hdiutil將ISO檔轉換為DMG格式,這裡用的是CentOS-8.2.2004-x86_64-boot版本不同的版本記得改掉。 ```Shell Session hdiutil convert -format UDRW -o CentOS-8.2.2004-x86_64-boot.dmg CentOS-8.2.2004-x86_64-boot.iso ``` ![](https://i.imgur.com/WcR2FxH.png) 確認隨身碟的位置。 ```Shell Session diskutil list ``` 這裡是/dev/disk2 ![](https://i.imgur.com/sfgYqjU.png) 把 /dev/disk2卸載下來。 ```Shell Session diskutil unmountDisk /dev/disk2 ``` ![](https://i.imgur.com/OfjQtnP.png) 用sudo管理員權限把CentOS-8.2.2004-x86_64-boot寫到USB理 ```Shell Session sudo dd if=CentOS-8.2.2004-x86_64-boot.dmg of=/dev/disk2 bs=1m ``` 輸入密碼後稍等一下 ![](https://i.imgur.com/IhbjMXK.png) 1275秒以後,跳出電腦讀不到您接上的磁碟。是因為影像檔的格式OSX讀不到。 ![](https://i.imgur.com/MbdUhTI.png) 選擇忽略 ![](https://i.imgur.com/lt2F439.png) 退出磁碟 ```Shell Session diskutil eject /dev/disk2 ``` ![](https://i.imgur.com/DSYfJi7.png) 這時就可以把USB拿來安裝 CentOS 8 了。 參考資料 <a href="http://blog.itist.tw/2015/01/burning-linux-iso-image-to-usb-disk-on-osx.html">在 OS X 中製作用來安裝 CentOS 的 USB 隨身碟</a>