Skip to content

Instantly share code, notes, and snippets.

@xarem
Last active August 29, 2015 14:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xarem/13e8132e90ae80da36f6 to your computer and use it in GitHub Desktop.
Save xarem/13e8132e90ae80da36f6 to your computer and use it in GitHub Desktop.
Install Yosemite OS X in VirtualBox
  • create machine from the Mac OS X (64 bit) template
  • I recommend the following configuration:
  • - at least 2 GB RAM
  • - at least 2 CPU's
  • - Chipset: PIIX3
  • - Video memory (recommended): 128 MB
  • Download OS X Yosemite from App Store
  • iesd -i /Applications/Install\ OS\ X\ Yosemite.app -o yosemite.dmg -t BaseSystem
  • hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage
  • hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg
  • hdiutil attach yosemite.sparseimage
  • cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/
  • hdiutil detach /Volumes/OS\ X\ Install\ ESD/
  • hdiutil detach /Volumes/OS\ X\ Base\ System/
  • hdiutil convert yosemite.sparseimage -format UDZO -o yosemitefixed.dmg
  • Mount yosemitefixed.dmg in VirtualBox
  • On MacBook Pro: VBoxManage modifyvm "OS X Yosemite" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff
  • As soon as the installation screen appear, go to the disk utility and format the hard drive.
  • Now you can install Yosemite!

OS X Yosemite Installation Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment