Mac OSX Leopard under KVM/Linux
Some collected links. I have yet to get this working properly. The osx86 install images hang at “dsmos: Starting”
http://d4wiki.goddamm.it/index.php/Howto:_Mac_OSX_on_KVM
It seems as though KVM/qemu itself needs to be patched to emulate the AppleSMC hardware device. I can’t yet find out of the current Ubuntu 7.x or 8.x distros of KVM include this patch or not. It does seem like this has already made it to opensuse, and the patch is nearly a year old, so maybe it’s in Ubuntu 8.x or 9.x: Here’s the patch itself:
http://svn.exactcode.de/t2/trunk/package/emulators/kvm/04-qemu-applesmc.patch
Unfortunately, the author’s website (http://alex.csgraf.de/self/) seems to be really borked and no longer has the relevant information other than the “getsmc” script referenced from the wiki page. (Not sure if this getsmc script is for Apple h/w + OSX or Apple + Linux)
There is an “applesmc” kernel module for Ubuntu, but I suspect this is for accessing the *real* SMC device, not for emulating one on non-Apple hardware.
I followed the instructions as per the page, though I don’t have access to an Intel-based mac to grab the codes needed. Still, it is workable without the codes if one uses a “different” distribution of OS X. However, it’s pretty sluggish, to the point of barely usable. We’re talking about 40 seconds to start Safari, and a painfully long time to boot. The virtual machine is given 2GB o ram. CPU usage on the VM is consistantly 100%.
Machine: Linux Mint 5 x64, which I believe is based on Ubuntu 8.04.
The link !
The linl seems to be broken!