Created
August 12, 2016 10:04
-
-
Save vitalymak/56f885ad9f107584ff38103294c8320b to your computer and use it in GitHub Desktop.
How to install OS X El Captain on VirtualBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First download El Captain from App Store (Purchases tab) | |
# instructions provided by http://apple.stackexchange.com/a/211722 | |
hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd | |
hdiutil create -o ElCapitan3.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach ElCapitan3.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/iso | |
asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase | |
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages | |
cp -rp /Volumes/esd/Packages /Volumes/OS\ X\ Base\ System/System/Installation | |
cp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/ | |
cp -rp /Volumes/esd/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/ | |
hdiutil detach /Volumes/esd | |
hdiutil detach /Volumes/OS\ X\ Base\ System | |
hdiutil convert ElCapitan3.cdr.dmg -format UDTO -o ElCapitan3.iso | |
mv ElCapitan3.iso.cdr ElCapitan3.iso | |
echo " | |
Additionally for running within VirtualBox: | |
Create a new OS X El Capitan from Wizard. | |
Change System->chipset to PIIX3, mount created ISO and boot up. | |
If you only see a the CD/DVD as installation target within the installation program choose Utilities > Disk Utility and erase the | |
VirtualBox disk, which will lead to an empty HFS+ Journaled disk, which now could be chosen as target." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment