Guest User

Yosemite public beta with Virtualbox

a guest
Aug 1st, 2014
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # How to install OS X Yosemite inside VirtualBox
  3. Tuned from Engadget version:
  4. - Uses public beta image
  5. - Include "sudo" for gem install
  6. - Switch to "hdiutil detach" to prevent locking
  8. Image:
  10. Yosemite's first developer preview was released right after Monday's WWDC opening keynote. For the general public, an open beta will be available to download later this summer. However, for those who want a sneak peek at the new hotness, there is a way to safely install it without risking your machine, using the free and powerful VirtualBox application from Oracle.
  12. Steps:
  14. 1. Download Yosemite from the App Store (or your favorite digital content distribution warehouse)
  15. 2. Open terminal and run the following to extract the base image:
  16. sudo gem install iesd
  17. iesd -i /Applications/Install\ OS\ X\ Yosemite\ -o yosemite.dmg -t BaseSystem
  19. 3. Merge the installer into the image:
  20. hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage
  21. hdiutil mount /Applications/Install\ OS\ X\ Yosemite\
  22. hdiutil attach yosemite.sparseimage -readwrite
  23. cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/
  24. hdiutil detach /Volumes/OS\ X\ Install\ ESD/
  25. hdiutil detach /Volumes/OS\ X\ Base\ System/
  27. 4. Finally, convert the result back to a DMG for booting in VirtualBox:
  28. hdiutil convert yosemite.sparseimage -format UDZO -o yosemitefixed.dmg
  30. 5. Add yosemitefixed.dmg as a live cd in virtual box
  31. 6. Change the chipset of your virtual machine to "PIIX3"
  32. 7. Start your VM, open Disk Utility within installer and create a new HFS+ partition on the virtual disk
  33. 8. Install it!
  35. Via:
  36. Via:
RAW Paste Data