New Hackintosh Project

For years I’ve been wanting a Hackintosh system. I remember a few years ago, I had a Dell Optiplex GX280 system, absolutely terrible it was, but it was free so I can’t complain. Anyway, I came across a video on YouTube of someone who managed to install OS X 10.5 on it, since then I became hooked on trying to install OS X on my systems.

My current project system is a HP Compaq 6320 Notebook which has the following specs;

– Core 2 Duo T550 @ 1.6GHz
– 3GB RAM
– 100GB HDD
– Intel GMA950 Chipset

Thankfully, according to osx86project.net, my system is compatible with 10.7 and 10.8, but the damn laptop doesn’t have a dual layer burner so I’m having to stick with 10.7.

As we speak (00:01 AM / 1st Oct 2014) I’m doing a dummy install of iAtkos L2, it’s just a barebones install to check to see if I can get the system to boot. I’m been having a lot of trouble even getting the installer to boot without a Kernel Panic. I managed to fix it by disabling any internal devices other than the core ones (USB, Sound card, LAN, etc). This allowed me to get in to the installer and get going. Also, it turns out that having Dual Core enabled in the BIOS causes a kernel panic, so it needs to be disabled.

Initially after the install, I got an issue with AppleRTC not being able to start, this makes a Kernel Panic appear, which is never good. To get around this I had to do (another) reinstall from scratch. This time I selected the 32bit version of the RTC patch & select the 32bit bootloader patch. OS X is now booting.

Even though OS X booted, my backlight won’t work. Due to the fact that the OS X version (10.7) is too new,  it no longer supports the GMA950 chipset that is in my system. Thankfully, there’s a patched AppleIntelFramebuffer.kext and AppleIntelGMA950.kext ported from 10.6 that works on my system. To install it I need to transfer the kexts over to a FAT (not FAT32) USB stick and boot in to single user mode with the -s flag. At least the backlight works in single user. Then we do the following:

“mount -uw /” – Mounts the filesystem as R/W.
“mkdir /Volumes/USB” – Created a folder we will later mount to.

Next we need to find out what the system sees the USB stick as, to do this we run the following command BEFORE plugging in the USB stick:

“ls /dev/disk*”

This should return a list of results such as “/dev/disk0 /dev/disk0s1 /dev/disk0s2”.

Next we plug in the USB drive and run the command again to see what changed:
“/dev/disk0 /dev/disk0s1 /dev/disk0s2 /dev/disk1 /dev/disk1s1”

We can tell from this that /dev/disk1 is the USB drive and /dev/disk1s1 is the FAT partition. Now we need to mount it:

“mount_msdos /dev/disk1s1 /Volumes/USB”

and VOILA! The drive is mounted to /Volumes/USB and we can view the kexts on there. All we have to do, to install them is change directory to /Volumes/<Hard drive name>/System/Library/Extensions and run the following commands to remove the old kexts and copy the new ones:

“rm -rf AppleIntelFramebuffer.kext”
“cp -r /Volumes/USB/AppleIntelFramebuffer.kext ./”
“rm -rf AppleIntelGMA950.kext”
“cp -r /Volumes/USB/AppleIntelGMA950.kext ./”
“reboot”

There we go, the GMA950 chipset is recognised by OS X and the backlight works. Excellent, but we are still plagued by the issue that enabling Dual Core in the BIOS will cause a kernel panic. This one took me a while to figure out. All that needs to be done, is we need to download DSDT editor and go through it to extract your DSDT from your BIOS (guides on Google) and then we can apply the GMA950 Laptop patch to the DSDT and set Chameleon to boot using it. All that’s left, is to enable dual core and boot with the cpus=1 flag (tell’s Chameleon there is only 1 physical processor) and you’ll notice that OS X recognises both cores of the system.

There we are, debugging and fixing a Hackintosh laptop.

Leave a Reply

Your email address will not be published. Required fields are marked *