How to Install Mac OS X 10.10 Yosemite in VirtualBox

Mac OS X Yosemite:

Over the years, OS X has changed in many ways. But the principles that define it haven’t: power, simplicity, beauty. So when we set out to create OS X Yosemite, we wanted to make it more powerful and easier to use, while maintaining the elements essential to Mac. It’s the next natural step in the evolution of OS X. Not just because of how it looks. But because of what it empowers you to do.

How to Install rubygem?

Install rubygems from here.

1. Download Mac OS X 10.10 Yosemite from the Apple App Store
2. Open terminal and install iesd

If your internet connection required proxy authentication, use this command

3. Create dmg file from downloaded setup


Adding additional steps because certain files end up missing from above:

4. Now convert dmg file to spareimage file


5. Now run these commands one by one:


Note: If you get a error message while converting, use “Disk Utility” GUI tool to convert it.

hdiutil: convert failed – Resource temporarily unavailable


12. Add yosemitefixed.dmg as a live cd in VirtualBox
13. Change the chipset of your virtual machine to “PIIX3”

Yosemite_0414. Start your VM, open Disk Utility within installer and create a new HFS+ partition on the virtual disk
15. Install it.