# Convert the ElCapitan spareseimage to ISO/CD master Hdiutil resize -size min /tmp/ElCapitan.sparseimage Hdiutil compact /tmp/ElCapitan.sparseimage Hdiutil detach /Volumes/OS\ X\ Base\ System/ Rm /Volumes/OS\ X\ Base\ System/System/Installation/PackagesĬp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/Ĭp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklistĬp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg # Remove Packages link and replace with actual files # Restore the Base System into the El Capitan Blank sparseimageĪsr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
Hdiutil attach /tmp/ElCapitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build Hdiutil create -o /tmp/ElCapitan -size 7316m -layout SPUD -fs HFS+J -type SPARSE # Create El Capitan sparseimage of 7316mb with a Single Partition - Apple Partition Map Hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app Note: you will need approx 16GB of free space on your hard disk for the script to complete.(博主注: CSDN博客不能贴附件,请拷贝粘贴下面的命令,下同) #!/bin/bash The commands in this executable script are shown below for informational purposes. Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.Ģ. Prepare Installation ISO on your Mac or Hackġ. 16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC.
Following on from my previous guide on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM.