SHOW:
|
|
- or go back to the newest paste.
| 1 | # How to install OS X Yosemite inside VirtualBox | |
| 2 | - | http://www.engadget.com/discuss/how-to-install-os-x-yosemite-inside-virtualbox-1rey/ |
| 2 | + | |
| 3 | Tuned from Engadget version: | |
| 4 | - Uses public beta image | |
| 5 | - Include "sudo" for gem install | |
| 6 | - Switch to "hdiutil detach" to prevent locking | |
| 7 | ||
| 8 | - | Steps (most likely, the Engadget forums are going to bork the formatting, I'll drop in a Pastebin link below): |
| 8 | + | |
| 9 | ||
| 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. | |
| 11 | - | 2. Open terminal |
| 11 | + | |
| 12 | - | 3. Run "gem install iesd" |
| 12 | + | Steps: |
| 13 | - | 4. Run "iesd -i /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app -o yosemite.dmg -t BaseSystem" |
| 13 | + | |
| 14 | 1. Download Yosemite from the App Store (or your favorite digital content distribution warehouse) | |
| 15 | - | Adding additional steps because certain files end up missing from above: |
| 15 | + | 2. Open terminal and run the following to extract the base image: |
| 16 | - | 5. Run "hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage" |
| 16 | + | sudo gem install iesd |
| 17 | - | 6. Run "hdiutil mount /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/SharedSupport/InstallESD.dmg" |
| 17 | + | iesd -i /Applications/Install\ OS\ X\ Yosemite\ Beta.app -o yosemite.dmg -t BaseSystem |
| 18 | - | 7. Run "hdiutil mount yosemite.sparseimage" |
| 18 | + | |
| 19 | - | 8. Run "cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/" |
| 19 | + | 3. Merge the installer into the image: |
| 20 | - | 9. Run "hdiutil unmount /Volumes/OS\ X\ Install\ ESD/" |
| 20 | + | hdiutil convert yosemite.dmg -format UDSP -o yosemite.sparseimage |
| 21 | - | 10. Run "hdiutil unmount /Volumes/OS\ X\ Base\ System/" |
| 21 | + | hdiutil mount /Applications/Install\ OS\ X\ Yosemite\ Beta.app/Contents/SharedSupport/InstallESD.dmg |
| 22 | - | 11. Run "hdiutil convert yosemite.sparseimage -format UDZO -o yosemitefixed.dmg" |
| 22 | + | hdiutil attach yosemite.sparseimage -readwrite |
| 23 | - | 12. Add yosemitefixed.dmg as a live cd in virtual box |
| 23 | + | cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System/ |
| 24 | - | 13. Change the chipset of your virtual machine to "PIIX3" |
| 24 | + | hdiutil detach /Volumes/OS\ X\ Install\ ESD/ |
| 25 | - | 14. Start your VM, open Disk Utility within installer and create a new HFS+ partition on the virtual disk |
| 25 | + | hdiutil detach /Volumes/OS\ X\ Base\ System/ |
| 26 | - | 15. Install it! |
| 26 | + | |
| 27 | 4. Finally, convert the result back to a DMG for booting in VirtualBox: | |
| 28 | hdiutil convert yosemite.sparseimage -format UDZO -o yosemitefixed.dmg | |
| 29 | ||
| 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! | |
| 34 | ||
| 35 | Via: http://www.engadget.com/discuss/how-to-install-os-x-yosemite-inside-virtualbox-1rey/ | |
| 36 | Via: http://forums.macrumors.com/showthread.php?p=19191255 |