Live data from Hacker News

Install OS X 10.10 Yosemite in VirtualBox

blog.frd.mn

51–60 of 109 posts

Re: Install OS X 10.10 Yosemite in VirtualBox

#52
post #37

Earlier quoted context omitted.

Why don't you replace that Mac Mini HDD with a blazing fast SSD instead?

Because you need multiple types of Torx security screwdrivers and have to literally disassemble the thing 100% (including removing the HSF and pulling out multiple tiny ribbon cables) to get the hard drive out; and it completely voids your warranty to do so. And hopefully you made a USB install stick first, since they don't ship with install media anymore. I'm sure the next iteration of the Mini will go to 32GB/64GB(…

Which Mac Mini model? I've never heard of such a thing.

Re: Install OS X 10.10 Yosemite in VirtualBox

#53
post #42

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

Same experience here. I usually don't have an Apple computer underhand, but I maintain cross-platform software for which I publish OSX binaries. I wish Apple gave some consideration to this situation, which is less of a problem for other plaforms which can be virtualized properly. After going though hoops running unstable VMs on old versions of VirtualBox, I ended up getting a vaguely stable build process up and running. But it was a pain.

Edit: less aggressive wording

Re: Install OS X 10.10 Yosemite in VirtualBox

#54
post #46

Earlier quoted context omitted.

So basically VMware plays fiddle to apple's artificially restrictive licencing, and virtualbox does not then? If that's so, I'll clearly prefer virtualbox in the future. I like software that respects the user as opposed to software restricting my options.

> VMware plays fiddle to apple's artificially restrictive licencing VMware merely passes relevant host information to the guest. For OS X this is something (can't remember) that satisfies the "Dont Steal Mac OS X" kext. For Windows and PCs with embedded license signature keys (again, can't remember the name, SLIC or something like that) then they're passing that (making virtualized Windows+Office OEM licenses activat…

There's a good explanation here, including a tool to read the key from a running Mac: http://osxbook.com/book/bonus/chapter7/tpmdrmmyth/

Summary: important system binaries (such as Finder.app) are encrypted with a key held in the SMC. The OS transparently decrypts them, but needs access to that key to do so.

It is possible to convince QEMU to run OS X: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ (though I've not tried this myself). They do require you to provide the relevant key yourself, I imagine for legal reasons.

Re: Install OS X 10.10 Yosemite in VirtualBox

#55

Earlier quoted context omitted.

Virtualization is expressly permitted by the Mac OS X 10.10.3 (Yosemite) SLA (Section 2B III) - http://images.apple.com/legal/sla/docs/OSX10103.pdf (iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b)…

What I don't understand is: If Apple allows people to visualise OS X, why do they make doing so such a pain in the ass? I looked into virtualising OS X so I could test an installer on a clean machine image, but the instructions always involve downloading patched ISOs from torrent sites. Seemed to me testing like that would make me less professional, not more professional :)

Installing OSX 10.7 and later in VMWare Fusion on OSX is trivial. If I recall correctly, VMWare does it automatically if you just pass it the Installer from the app store.

Installing 10.6 requires a bit of hackery unless you have a copy of the server version.

I have a bunch of VMs for testing my OS X apps on older versions of the OS.

Re: Install OS X 10.10 Yosemite in VirtualBox

#56
post #47

Earlier quoted context omitted.

So basically VMware plays fiddle to apple's artificially restrictive licencing, and virtualbox does not then? If that's so, I'll clearly prefer virtualbox in the future. I like software that respects the user as opposed to software restricting my options.

I don't know what VMware's software does or doesn't do but its documentation just reiterates what OS X's EULA says. VirtualBox's documentation does the same thing [1] and goes further to caution "These license restrictions are also enforced on a technical level. Mac OS X verifies whether it is running on Apple hardware, and most DVDs that that come with Apple hardware even check for an exact model. These restrictions…

In the past, at least, that installation-time check for an exact model was not-very-well hidden in a Perl script on the DVD.

Re: Install OS X 10.10 Yosemite in VirtualBox

#57
post #53
post #42

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

Same experience here. I usually don't have an Apple computer underhand, but I maintain cross-platform software for which I publish OSX binaries. I wish Apple gave some consideration to this situation, which is less of a problem for other plaforms which can be virtualized properly. After going though hoops running unstable VMs on old versions of VirtualBox, I ended up getting a vaguely stable build process up and runn…

"Doesn't Apple have any consideration for this situation?"

They do; buy a Mac.

EDIT: That sounds harsh, but it is their business model. That is the cost of entry to the Apple eco-system. I would argue that the running through hoops was your choice. The obvious choice is to not build for their platform.

Re: Install OS X 10.10 Yosemite in VirtualBox

#58
post #46

Earlier quoted context omitted.

> VMware plays fiddle to apple's artificially restrictive licencing VMware merely passes relevant host information to the guest. For OS X this is something (can't remember) that satisfies the "Dont Steal Mac OS X" kext. For Windows and PCs with embedded license signature keys (again, can't remember the name, SLIC or something like that) then they're passing that (making virtualized Windows+Office OEM licenses activat…

There's a good explanation here, including a tool to read the key from a running Mac: http://osxbook.com/book/bonus/chapter7/tpmdrmmyth/ Summary: important system binaries (such as Finder.app) are encrypted with a key held in the SMC. The OS transparently decrypts them, but needs access to that key to do so. It is possible to convince QEMU to run OS X: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ (though I've not…

You can also use FakeSMC, which is a kext that emulates a real SMC and therefore allows you to bypass that limitation. It's a mandatory requirement for Hackintosh installations.

Re: Install OS X 10.10 Yosemite in VirtualBox

#59
post #57
post #53

Earlier quoted context omitted.

Same experience here. I usually don't have an Apple computer underhand, but I maintain cross-platform software for which I publish OSX binaries. I wish Apple gave some consideration to this situation, which is less of a problem for other plaforms which can be virtualized properly. After going though hoops running unstable VMs on old versions of VirtualBox, I ended up getting a vaguely stable build process up and runn…

"Doesn't Apple have any consideration for this situation?" They do; buy a Mac. EDIT: That sounds harsh, but it is their business model. That is the cost of entry to the Apple eco-system. I would argue that the running through hoops was your choice. The obvious choice is to not build for their platform.

That kind of consideration is synonymous with "give us more money" in my book. For developers who are willing to develop for iOS but don't use Macs, why not give them a bone and let them develop on a VM? Apple still makes money if the app sells.

Re: Install OS X 10.10 Yosemite in VirtualBox

#60
post #59
post #57

Earlier quoted context omitted.

"Doesn't Apple have any consideration for this situation?" They do; buy a Mac. EDIT: That sounds harsh, but it is their business model. That is the cost of entry to the Apple eco-system. I would argue that the running through hoops was your choice. The obvious choice is to not build for their platform.

That kind of consideration is synonymous with "give us more money" in my book. For developers who are willing to develop for iOS but don't use Macs, why not give them a bone and let them develop on a VM? Apple still makes money if the app sells.

Apple has considered that question, and the answer is "because they won't truly buy into our larger ecosystem."
Post reply on HN