from Hacker News

Install OS X 10.10 Yosemite in VirtualBox

by frdmn on 6/2/15, 9:37 AM with 102 comments

  • by rmoriz on 6/2/15, 11:57 AM

    There is a simpler solution out there using Hashicorps' Packer and the great build scripts from timsutton ( can build images for Fusion and Parallels, too.):

    https://github.com/timsutton/osx-vm-templates

    e.g.

    https://gist.github.com/rmoriz/37b671afe53c984b2f85

  • by wslh on 6/2/15, 11:39 AM

    I used OS X in VMware and Virtualbox (running Xcode) and the experience was awful. Mainly because 3D support is not available and OS X makes a heavy use of graphics acceleration.

    OS updates also break the installation.

    There are many discussion threads on this topic, like this one https://communities.vmware.com/thread/466874

  • by zyxley on 6/2/15, 3:41 PM

    Note that if you do this with 10.10, performance will be terrible because of graphics accelerations issues.

    From what I understand, 10.9 generally works fine in VMs, but there was a change in the underlying graphics engine in 10.10 that works fine on real hardware but plays merry havoc with VMs.

  • by alkonaut on 6/2/15, 10:16 AM

    It seems the image must be created on an existing OS X installation. Is a pre-baked image portable to virtualbox running on other host OS:es? (Yes I know, Eula yada yada).
  • by kriro on 6/2/15, 10:24 AM

    I'm thinking about getting a MBP (have one at work) because the hardware is shiny and OSX is useful/needed for some things (iOS development, Unity development). However I'd much rather run Linux as the base OS. That setup wouldn't violate the EULA. I guess I'll spin up a VB-image on this OSX-MBP and see how it goes :) Useful.
  • by cerberusss on 6/3/15, 8:54 AM

    Now I remember why I don't like VirtualBox. There's always some problem when I use it. In this case, I followed the exact instructions. I have a non-functioning trackpad in the guest, which sometimes happens, and sometimes not. In the OS X installer, I also can't select the disk to install to. And when I powered down the VM and powered it up again, I get an error message "Error loading kernel cache (0x9)". That seems to be fixed when you follow the FAQ for "Stuck on boot".

    The non-functioning trackpad I can get around, by rebooting until it works. Anybody had the problem where you can't select the target disk in the installer?

    Edit: got it. You have to format the disk. In the installer, go to Disk Utility and "erase" the disk. This formats and partitions it.

  • by csvan on 6/2/15, 9:58 AM

    Needless to say, this is a gross EULA violation (clarification: if you do it on non-Apple hardware, that is).
  • by arihant on 6/2/15, 12:24 PM

    Since Virtual Box supports EFI boot, and since we did not fiddle with the ISO in this process, that means this process will not work on incompatible older Macbooks, right?
  • by st3fan on 6/2/15, 2:15 PM

    Can the same technique be used to run Yosemite under KVM?
  • by neals on 6/2/15, 10:00 AM

    Would this run faster on a Windows-SDD than on a Mac-mini sloooow HDD?