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.):
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.
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.
> 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.
For desktop use it's probably true, but you can enable SSH and log in to run build-jobs and test-runs with Xcode and friends just fine.
I run Yosemite Zone on a Lenovo W530 just fine, 13Gb RAM Allocated to OSten. Sure it's a little slow but it's usable. Still I agree, on slower hardware it's useless. I'm buying a Macbook Air 2011 next week since I need something faster and the Lenovo is a company machine.
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.
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).
I know of some images that are available at The Pirate Bay, but they are only for VMware and also require some kind of patch to the virtualisation software for a reason I do not know.
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.
I would guess you'll probably get at best mediocre battery life not running OS X as the host OS.
If you happen to have any issues with hardware (that are actually hardware issues) it will also most likely be a lot harder (i.e. more involved) to get support from an Apple Store.
Also, from reading the quoted text about the "virtualisation" clause in the EULA - it may only be "acceptable" (by Apple's terms) to virtualise OS X on top of OS X (emphasis mine):
> 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
Consider running OS X as host OS and Linux as a guest OS in VirtualBox. Unless you are going to play games in Linux, you should have a good experience.
There's not much downside to OS X for a Linux fan. Yeah it's BSD but most important unix programs you can get via brew, etc. And of course you can run Linux in a VM at native speed without much problem... run a dozen of them if you want to simulate a distributed system (Which is what I do before pushing out to the cloud.)
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.
(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) testing during
software development; (c) using OS X Server; or (d) personal, non-commercial use.
Unless you are talking about the modification of the installation media. That, I am unclear on.
Yes. Those legally binding EULAs with the associated EULA-violations we've constantly heard people getting jailed over.
How about you Mac-heads come to terms with Macs being bog standard X86 hardware and OSX being a bog standard X86 OS, and that running a bog standard X86 OS on bog standard X86 hardware is absolutely within everyone's legal right to do?
There's nothing special about your hardware nor OS. Get over it.
In the meantime I will virtualize OSX to get the Mac-specific parts of my build and tests running, and leave everything else on proper Linux.
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?
[+] [-] rmoriz|10 years ago|reply
https://github.com/timsutton/osx-vm-templates
e.g.
https://gist.github.com/rmoriz/37b671afe53c984b2f85
[+] [-] wslh|10 years ago|reply
OS updates also break the installation.
There are many discussion threads on this topic, like this one https://communities.vmware.com/thread/466874
[+] [-] pierrec|10 years ago|reply
Edit: less aggressive wording
[+] [-] josteink|10 years ago|reply
For desktop use it's probably true, but you can enable SSH and log in to run build-jobs and test-runs with Xcode and friends just fine.
[+] [-] nowey|10 years ago|reply
[+] [-] zyxley|10 years ago|reply
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.
[+] [-] alkonaut|10 years ago|reply
[+] [-] mahouse|10 years ago|reply
[+] [-] josteink|10 years ago|reply
[+] [-] kriro|10 years ago|reply
[+] [-] stephenr|10 years ago|reply
If you happen to have any issues with hardware (that are actually hardware issues) it will also most likely be a lot harder (i.e. more involved) to get support from an Apple Store.
Also, from reading the quoted text about the "virtualisation" clause in the EULA - it may only be "acceptable" (by Apple's terms) to virtualise OS X on top of OS X (emphasis mine):
> 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
[+] [-] vbezhenar|10 years ago|reply
[+] [-] Igglyboo|10 years ago|reply
You're going to miss out on firmware updates and have bad battery life.
[+] [-] MCRed|10 years ago|reply
[+] [-] ikeboy|10 years ago|reply
[+] [-] cerberusss|10 years ago|reply
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.
[+] [-] csvan|10 years ago|reply
[+] [-] legulere|10 years ago|reply
[+] [-] kuschku|10 years ago|reply
In other countries, these parts of the EULA might not have a legal meaning at all.
[+] [-] nathankunicki|10 years ago|reply
(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) testing during software development; (c) using OS X Server; or (d) personal, non-commercial use.
Unless you are talking about the modification of the installation media. That, I am unclear on.
[+] [-] unknown|10 years ago|reply
[deleted]
[+] [-] josteink|10 years ago|reply
How about you Mac-heads come to terms with Macs being bog standard X86 hardware and OSX being a bog standard X86 OS, and that running a bog standard X86 OS on bog standard X86 hardware is absolutely within everyone's legal right to do?
There's nothing special about your hardware nor OS. Get over it.
In the meantime I will virtualize OSX to get the Mac-specific parts of my build and tests running, and leave everything else on proper Linux.
[+] [-] arihant|10 years ago|reply
[+] [-] st3fan|10 years ago|reply
[+] [-] defied|10 years ago|reply
I haven't tried it myself, but those instructions should help with running Yosemite on QEMU/KVM
[+] [-] neals|10 years ago|reply
[+] [-] provemewrong|10 years ago|reply
[+] [-] Synaesthesia|10 years ago|reply
[+] [-] unknown|10 years ago|reply
[deleted]