[Off-topic] E:V:A:
How to install OSX Snow Leopard (10.6.3) as a Virtualbox VM

(on a 7 year old AMD and nVidia based HP Laptop)

This is definitely not one of my preferred XDA topics. But this info need to be out there.

Two years ago (2011) I tried to install Apple's OSX on my already aging HP

Pavilion laptop in a virtual VM (using Virtualbox). This without ever having

used OS X nor finding any clear instructions on how to make this happen.

Needless to say, I was not successful. However, since then, many people around

the world have started making their own "Hackintoshes", and so some better

bootloaders and tools have emerged.

So after finding an interesting open source program, that was only available

for OSX based Apples, I decided to try a OSX VM install again. But according

to many online-blogs and forums, it was pretty much against all odds. Not,

because it was impossible, but because of the lacking installation

instructions, and widely varied results highly dependent of the underlying

hardware. So I decided to attempt an out-of-the-box boot load by grabbing an

old iAtkos Snow Lepard distribution. Here are my results.

My Hardware:

[SIZE=2]OS: Windows Vista Home (32-bit x86)
Laptop: HP Pavilion dv9700 Notebook PC
BIOS: F32 2009-03-03
CPU: AMD Turion64 X2 TL-68 [BH-G2]
Motherboard: Quanta 30DA (nVidia MCP65) [nForce520, ID 0442]
Graphics: nVIDIA GeForce 8400M GS (G86M) with 256 MB VRAM
Network: nVIDIA nForce 10/100/1000

CPU-Z info: http://www.cpuid.com/softwares/cpu-z.html
CPU Bus Speed: ~200 MHz
CPU Multiplier: ~4
[/SIZE]

My Virtualbox/OSX distro Combination:

[SIZE=2]OSX Distro: iATKOS S3 v2 (June 2010)
OSX version: Snow Leopard 10.6.3
Virtualbox: 4.2.16 r86992
[/SIZE]

Distro downloads is generally considered Warez, but can be easily found by

Googling/Piratebay etc. and are not allowed to be linked to, from XDA. To know

more about what suits you, you should check iAtkos own site. However, although these

are great for testing your hardware compatibility/issues, it is strongly recommended

to just buy your own copy of OSX. That way you are both legal and get to have the

latest version running with only some minimal hacked modification to the Kernel,

drivers and Kext's...

I basically followed these instructions:

http://iatkos.me/forum/viewtopic.php?f=54&t=12269

http://anonymous00.hubpages.com/hub/Installing-Mac-OSX-On-Windows-Virtual-PC

http://www.macbreaker.com/2012/02/snow-leopard-virtualbox.html

http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html

...

To summarize:

1. Download and install Virtualbox

2. Change the default Virtualbox VM snapshot location,

to use a disk that is not part of the Windows installation.

I.e. Not on default C:, but any other. This is for performance.

3. Download the iATKOS S3 V2 distribution from any torrent site.

Or directly from iATKOS website below.

4. [ Naah, there are already too many ways of doing this. Google yourself tired! ]

To my pleasant surprise both the bootloader and installer worked without a

hitch right out-of-the-box into Virtualbox. This gave me good hope to

continue. But after installation according to above instructions, I rebooted

and disabled boot CD to go native, and ... no boot. VM machine started booting

process up to the gray Apple logo and then froze. No spinner but CPU running

very high. Trying again to boot using many different boot flags and various

verbose safe-boot's etc. It would always hang at the same place.

[SIZE=2][Hit F8 key during boot.]
...
Boot> -v -x
...
[WARNING] "Extra/DSDT.aml not found"
...
[/SIZE]

Funny enough this was shown until I clicked anywhere outside the

Virtualbox VM window, at which point the VM screen would just go

black. Thus I concluded that the only way this could happen, was

that it was either a video or USB problem.

Now, apparently everyone whoever attempted putting OSX on a non-apple

machine has gotten to this point, so while Google showed 100's of

thousand's of hits, none of them were any good to me, apart some bits

and pieces. These are the bits and pieces.

During the initial installation, there is a point where you can change

various boot options, including Kernel's, patches, drivers etc. That is

exactly what we need to do! Don't skip this, or you will have to

erase/reformat and re-install your VM again.

The problem? The default installation options:

a) are not meant for AMD processors,

b) not meant for 32-bit processors,

c) not using nVidia video drivers

d) not allowing certian boot options.

To fix this, you need to make sure you activate the following boot

configuration items in the "Customize" menu after clicking button:

See the default options HERE.

[SIZE=2][B]Bootloader[/B]:
1. Chameleon v2 RC 4 32-bit Bootloader

[B]Bootloader Options[/B]:
2a. 32-bit boot Boot in 32-bit format, 64-bit is default otherwise.
2b. Graphics Enabler Enable some nvidia specific graphics options
2c. USB In case of USB problems...

[B]Patches[/B]:
3a. /Extra directory
3b. fakesmc
3c. Disabler
3d. RTC/RTC
3e. EVO Reboot
3f. Modified Kernels: Qoopz 10.3.0 32-bit AMD friendly Kernel
3g. USB ???

[B]Drivers[/B]:
4.Main Hardware/SATA/IDE: <all> ahci sata dan jmicron sata
5.VGA/nVidia: NVenabler allow many legacy nVidia drivers

[/SIZE]

[I actually recommend leaving out the USB related support until you are sure it is needed.]

After accepting and installing with these options, you'll be waiting a very

long time >30 min with a progress-bar that is not visibly moving and making you

think several times that nothing happens and it has failed. But then, there it

is!

Similarly, after disconnecting CD (iATKOS S3V2 Boot image), and restarting the

VM, you can boot with verbose mode, and you'll see a lot of errors and

messages, and then nothing happens at all, but you can enter text without any

effect. Just Wait! Then boom, there it starts up with Apple logo and colored

spinner. Very slow, probably due to a bunch of faulty drivers and time-outs.

But you're running OSX! The next trick is how to tweak this success into

something we can actually use.

Post Installation:

1. Install the Virtualbox additions:
a) In the Virtualbox host menu "Devices", select "Install Guest Additions.."
b) In your guest OS, go into the "VBOXADDITIONS_4." desktop CD-icon.
c) I actually never got this to work, since the CD-image in ([B]b[/B]) doesn't contain any OSX support...

2. Go into "System Preferences" and:
a) select "Energy Saver". Then set all timeouts to "never" and disable sleep modes.
b) select "Desktop & Screen Saver". Then set the "Start screen saver" bar to "never".
c) select "Software Update". Then uncheck the "Check for updates:".
d) Set time-zone, date and time in "Date & Time".

3. Go into "xxxxx" ...

4. <TBA>

Other Resources:

-------------------------------------------------------------------

http://www.osx86.net/ Drivers, DSDT, kext, tools, files etc.

http://iatkos.me/

http://www.hackintosh.com/

http://www.osx86project.org/

http://www.insanelymac.com/

http://www.hackint0sh.org/osx86-snow-leopard-212/

http://iatkos.me/forum/viewforum.php?f=54

http://www.insanelymac.com/forum/forum/178-osx86-106-snow-leopard/

OSX:

http://www.insanelymac.com/forum/files/file/65-amd-kernel/

http://www.souldevteam.net/blog/category/osx86/osx86-virtual-machines/

http://www.souldevteam.net/blog/2013/02/06/os-x-mountain-lion-vmware-image-amd/

http://anonymous00.hubpages.com/hub/Installing-Mac-OSX-On-Windows-Virtual-PC

http://www.tonymacx86.com/user-buil...77x-up5-th-8gb-ram-gtx-660ti-100-working.html

http://www.macbreaker.com/2013/07/a-look-at-amd-hackintoshing-mac-os-x.html

http://lifehacker.com/5938332/how-to-run-mac-os-x-on-any-windows-pc-using-virtualbox

Patched Kernels:

http://wiki.osx86project.org/wiki/index.php/Patched_Kernels

http://www.insanelymac.com/forum/files/category/6-kernels/

Mountain Lion: (x64 only!)

http://www.macbreaker.com/2013/01/install-mountain-lion-iatkos-ml2-hackintosh.html

http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html

http://www.macbreaker.com/2013/01/iatkos-ml2-mountain-lion-virtualbox.html

Snow Leopard:

http://www.macbreaker.com/2012/02/snow-leopard-virtualbox.html

Some Particular Files:

NVENABLER http://www.osx86.net/files/file/1322-nvenabler/

HP Pavilion series USB fix for Leopard 10.5.x 1.0 http://www.osx86.net/files/file/3297-hp-pavilion-series-usb-fix-for-leopard-10-5-x/

Kexts for nVidia GeForce 8400 GS 1.0 http://www.osx86.net/files/file/247-kexts-for-nvidia-geforce-8400-gs/

A few other bootloader options to try:

arch=i386
DSDT=0
wait=yes
npci=0x2000
fsb=<busspeed in mhz> busratio=<muliplier>
GraphicsEnabler=Yes
USBFix=Yes
UHCIreset=Yes

For a more complete description of various bootloader options see HERE:

http://www.insanelymac.com/forum/to...-install-snow-leopard-retail-on-amd-pc-osx86/

http://iatkos.me/forum/viewforum.php?f=54

Virtualbox Resources:

http://dlc.sun.com.edgesuite.net/vi...VirtualBox_Extension_Pack-4.2.18.vbox-extpack

http://dlc.sun.com.edgesuite.net/virtualbox/4.2.18/VBoxGuestAdditions_4.2.18.iso

http://download.virtualbox.org/virtualbox/

http://www.mail-archive.com/vbox-dev@virtualbox.org/maillist.html

ENJOY!