OS X

製作 OS X Mavericks 10.9 開機光碟(ISO)
  • 1# JDP
  • 1033422014-2-21 15:13:34
1.先利用 App Store 將 Mavericks 下載下來
2.開啟finder => 應用程式,應該會看到「安裝OS X Mavericks」
3.確定有下載到「安裝OS X Mavericks」後,點選finder => 應用程式 => 工具程式 => 終端機,依序執行以下指令,最後會產生一個Mavericks.iso在桌面上

# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks

# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Mavericks.sparseimage

# Mount the sparse bundle for package addition
hdiutil attach /tmp/Mavericks.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files
rm /Volumes/install_build/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Unmount the installer image
hdiutil detach /Volumes/install_app

# Unmount the sparse bundle
hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space
hdiutil resize -size `hdiutil resize -limits /tmp/Mavericks.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/Mavericks.sparseimage

# Convert the sparse bundle to ISO/CD master
hdiutil convert /tmp/Mavericks.sparseimage -format UDTO -o /tmp/Mavericks

# Remove the sparse bundle
rm /tmp/Mavericks.sparseimage

# Rename the ISO and move it to the desktop
mv /tmp/Mavericks.cdr ~/Desktop/Mavericks.iso

4.
(1)如果是要拷到網芳上,則按Win+K(連接伺服器) 輸入類似 smb://192.168.x.x/share/ 的方式,存取網芳
(2)如果是要燒到光碟上,則在桌面的Mavericks.iso圖示上點滑鼠右鍵=>將「Mavericks.iso」燒錄到光碟

Reference:
HOWTO: Create bootable Mavericks ISO
http://forums.appleinsider.com/t ... table-mavericks-iso
倒序瀏覽 看全部 全部回復2
  • 2# JDP
  • 2016-12-27 14:33:17

RE: 製作 macOS Sierra 10.12 開機光碟(ISO)

建立一個單一分割區、HFS+ 格式、大小為 7316MB 的映像檔。
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

掛載映像檔。
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

把所有檔案還原到映像檔裡。
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

刪除檔案的軟連結,改以實際的檔案來取代。
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/

把其他所有的檔案複製到映像檔裡。
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

卸載安裝檔案跟開機系統檔案。
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/

轉換成 ISO 格式。
hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso

將 ISO 檔搬到桌面。
mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso

Reference:
製作 macOS Sierra 10.12 的開機隨身碟及 ISO 映像檔 (IT技術家)
http://blog.itist.tw/2016/09/cre ... erra-10.12-iso.html
  • 3# JDP
  • 2016-12-27 15:06:53

macOS Install ISO Creator

Create the ISO image
https://calvin.me/install-macos-esxi/
Calvin Bui - OS X macOS Install ISO Creator
https://gist.github.com/calvinbu ... 077a88d6d60eac01aa8
DMG2IMG
http://vu1tur.eu.org/tools/
回復 收藏 轉播 分享 淘帖