Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › Blackknight (AnV/Qoopz-based) kernel w/corrected Phenom FSB …
90,162 reads · 2010-01-03 – 2011-07-26
Dossier 10.X Core Voodoo / XNU Kernel AMD OSx86

Blackknight (AnV/Qoopz-based) kernel w/corrected Phenom FSB detection

I am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this…

Primary Author
@blackknight Published 2010-01-03
Collection
OSx86 Core & 10.X
Archival Footprint
90,162 historical reads · 46 curated field notes (from 67 dispatches) · 2010-01-03 – 2011-07-26
Credited Voices (23)
@blackknight (16)@andyvand (8)@RayFlower (6)@digithree (5)@timberwolf5 (4)@m28ew (3)@ceti (3)@wastez (3)@RetroRen (2)@eMatoS (2)@gotytytyty (2)@ashp (2)@toanbk@bhokuto@gedna@jazZbaR+7 more

I am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is, doubles the detected FSB speed. If it isn't, the kernel is then the same as AnV/Qoopz's. I've included the diff file in case anyone wants to use what I've done in other kernels.

The reason it doubles the FSB is that the busratio is then detected as the actual CPU multiplier set in the BIOS and not double it. This means that you are no longer capped to 3.0 GHz as a maximum CPU clock speed since the kernel has a busratio cap of 30. Now, you can be able overclock your Phenom to up to 6GHz (theoretically) and the kernel won't panic due to the cap.

I hope this benefits all you Phenom users out there!

innovativec inemasystems.com/files/10.2.0-BK.zip

*EDIT*
Had to remove Shanghai support. I'll keep working on adding it and post an update when I think it'll work. I don't have one so I can't test, but when I added it to the kernel, it broke the Phenom support. When I get that fixed, I'll re-upload so people with Shanghais can test it.

*UPDATE 03/23/2010*
I changed the patch a little to try to add Shanghai support back in and I think it's working, but I don't have a Shanghai to test (please test if you have one and let me know). Also, the kernel has been updated using Andy's new Release2. I need to know if this still works with Intel (any) and Athlon (older than Athlon 2 and Phenoms). Please test and let me know.

Also, I have updated the diff file to only apply to xnu-1486.2.11 that has already been patched by one of the other methods. This should really just help Andy incorporate it into his future kernels and doesn't really apply to others unless they are already patching the kernel using the Voodoo methods. All it does is add the Phenom/Shanghai detection.

*UPDATE* now available for 10.6.3
Here's the new kernel and diff file for 10.3.0:innovativec inemasystems.com/files/10.3.0-BK.zip

Let me know if it works for you. Also, -force64 is still not working correctly for AMD and I think it has something to do with one of Andy's mods, but I don't know for sure.

Author Updates & Technical Revisions

Follow-up dispatches by @blackknight

Author Update #1 @blackknight 2010-01-04

No, all it does is correctly identify the FSB in addition to all of the other AnV features. You can read about AnV's kernel in his thread.

Author Update #2 @blackknight 2010-01-05

I just use the vanilla System.kext. I actually don't have any modified Apple kexts in my system. Try that and see if it works. Also, make sure you're using PC_EFIv10.5 as it seems to work the best.

Author Update #3 @blackknight 2010-01-23 ↳ Re: @andyvand
@andyvandThanks Black Knight for the fixes to Shanghai/Phenom. Feel free to redistribute the patches etc... Anybody may use my code as they see fit Keep up the great work.

Glad I could help. I hope that this feature is added to future kernels too so I don't have to modify it every time. Thanks for the code to start with Andy and you keep up the great work too!

Author Update #4 @blackknight 2010-03-30 ↳ Re: @gedna
@gednathank you, works great, jus wondering, its suppose to work faster, than previous version? what is the main differences between this and older?

The only thing my mod does is correctly detect the FSB speed for AMD Phenoms and Shanghai processors allowing them to run at speeds higher than 3.0 GHz without kernel panic. If you have a Phenom I or II with a clock speed lower than 3.0 GHz and don't overclock, it doesn't really make a difference, but if you're is higher, it will no longer kernel panic at boot-up.

Author Update #5 @blackknight 2010-03-31 ↳ Re: @m28ew
@m28ew@ blackknight : could you build a new patched mach_kernel 10.3.0 for the AMD system ? fyi, now I'm running the Snow Leo Server 10.6.3 with your latest patched kernel (the blackknight's darwin 10.2.0) thanks for your great efforts

Could you please post your system specs? I noticed that you have 64 bit mode working, which I haven't been able to do with snow 10.6.2.

Also, the darwin 10.3.0 kernel sources haven't been posted yet, so we can't make new kernels yet.

Author Update #6 @blackknight 2010-04-02 ↳ Re: @RayFlower
@RayFlowerHey, this didn't work for me after upgrading to 10.6.3 and replacing the mach_kernel with this one i get the following kernel panic: Using a Phenom II X4 945 Gigabyte GA-MA790X-UD3P

Did you notice that the kernel is for 10.6.2 and not 10.6.3? Wait for a new kernel based on 10.6.3.

Author Update #7 @blackknight 2010-04-18

I've built the a new kernel based on 10.3.0 and added the link and diff to the first post. So far it's working for my Phenom 9950, though -force64 still doesn't work and I now think it might have to do with one of Andy's mods. When I made my change to the 10.3.0 legacy kernel by nawcom/qoopz, -force64 sort of worked, but now I can't boot into the GUI with Andy's.

Enjoy!

-BK

Author Update #8 @blackknight 2010-05-03

I am sure both Andy and I are glad to help. Andy definitely knows more about the kernel than I do.

As far as the on-the-fly CPUID patcher, is anyone working on this? Did the Voodoo team die or something? This is one thing that makes AMD installs so difficult. If it wasn't for the fact that my Radeon HD 4550 won't work in Leopard, I would be using it exclusively as it is rock-solid and easy to setup. If someone would give me some help in building a kernel for 10.5, I would have my Phenom patch working with it too. At least with Leopard, I can get my ALC889a working with 7.1 analog surround sound whereas I can't get any sound to work in SL. I wonder if it has something to do with the kernel though.

Author Update #9 @blackknight 2010-05-29

Awesome Andy! I am so happy that someone even attempted to get this working and I pretty much knew it had to be you. Also, thanks for the updates. I can't stand it when someone promises to do something that everybody has been waiting for and it ends up being vaporware because they don't let people know what's going on with it. Thanks man.

Author Update #10 @blackknight 2010-06-04

I'm wondering if my AMD CPU FSB detection is now implemented as standard in your code. Also, is there any work by anyone on getting full 64-bit mode working on AMD?

Author Update #11 @blackknight 2010-06-04 ↳ Re: @andyvand
@andyvandI am working on full 32 + 64 bit amd xnu @blackknight: can you post a diff (your patch only, diff between my patch and yours)

At the moment, the graphics card on my system has died, so all I can do is paste the part of the full diff I posted in the first post that applies.

-    busFreq = EFI_FSB_frequency();
-
+     if (!PE_parse_boot_argn("fsb", &busFreq, sizeof(busFreq))) {
+         // blackknight; added for corrected FSB detection for Phenoms and Shanghais
+        switch (cpuid_family()) {
+            case CPU_FAMILY_AMD_PHENOM:
+            case CPU_FAMILY_AMD_SHANGHAI: {
+                busFreq = 2 * EFI_FSB_frequency();
+            }
+            break;
+             default:
+                busFreq = EFI_FSB_frequency();
+        }
+    }
+    
     switch (cpuid_cpufamily()) {

Look for this code in the tsc.c file. It shouldn't be hard to find. As you can see, it's just a check to see if it's an AMD Phenom or Shanghai or not and doubles the detected EFI_FSB_frequency if it is.

Author Update #12 @blackknight 2011-05-30 ↳ Re: @petkov
@petkovI will very happy to see an 10.6.7 Kernel for My phenom9650 with correct detection. Is there a light way for an newbie to patch kernel self. What is the best Bootloader for Amd system?

All of the new kernels based on nawcom, AnV, etc. should already include my Phenom fix. I haven't messed with it in a long time, but last I knew the fix was already incorporated into the main branch. As far as patching the kernel yourself, I posted in the beginning of this thread the changes I made to AnV's source, so you can get the source for the latest kernel and look for my changes to see if they are in there and add them if not and re-compile. Best bootloader is probably still PC_EFI or Chameleon, but those are the only one's I've used.

Author Update #13 @blackknight 2011-07-24

Patching your ISO

The diff file is only for developers that want to patch mach_kernel for themselves. All you need is the mach_kernel and you need to replace it in your ISO. You'll need to mount it readwrite so that you can write the new file to it. This is fairly common information, but you should really use one of the newer distributions that already have newer kernel versions. I made this modification back in the 10.6.2 & 10.6.3 days when this mod wasn't already included in the AnV based kernels. It has since been added to the latest legacy kernels (to my knowledge) so I have since stopped making this mod.

BK

Synthesized Community Field Notes

46 technical responses curated from 67 original dispatches

Field Note #1 @toanbk 2010-01-04

does it work well with fly - cpuid and AMD ATHLON ?

Field Note #2 @RetroRen 2010-01-04

Thanks for thre kernel but It doesnt work for me yet, same as with Andys kernel:

I put system.kext that Andy provided with kernel in S/L/E and installed thekernel but my boot just stops. When I try to boot to safe mode i get KP.

This is where my boot stops:

Field Note #3 @RetroRen 2010-01-05 ↳ Re: @blackknight
@blackknightI just use the vanilla System.kext. I actually don't have any modified Apple kexts in my system. Try that and see if it works. Also, make sure you're using PC_EFIv10.5 as it seems to work the best.

I knew it was a bad idea to use a modified kext.
Will replace it as soon as a find vanilla System.kext, because I was stupid enough not to back it up

I guess it's that modified kext, I'm using PC_EFIv10.5.

Field Note #4 @andyvand 2010-01-23

Thanks Black Knight for the fixes to Shanghai/Phenom.
Feel free to redistribute the patches etc...
Anybody may use my code as they see fit
Keep up the great work.

Field Note #5 @bhokuto 2010-03-19 ↳ Re: @blackknight
@blackknightI am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is,…

thanks mang

Field Note #6 @andyvand 2010-03-19

rapid share.com/files/365470184/AnV_Qoopz_snow_leopard_xnu_rel2.diff.zip
Could you update this with your patch?
It corrects a little mistake I've made with the first release...
You may then upload that version (will work with AppleIntelCPUPowerManagement, previous one didn't... also sets core detection better)

Field Note #7 @gedna 2010-03-26

thank you, works great, jus wondering, its suppose to work faster, than previous version? what is the main differences between this and older?

Field Note #8 @m28ew 2010-03-31

any new patched mach_kernel 10.3.0

@ blackknight → :

could you build a new patched mach_kernel 10.3.0 for the AMD system ?

fyi, now I'm running the Snow Leo Server 10.6.3 with your latest patched kernel (the blackknight's darwin 10.2.0)

thanks for your great efforts

Field Note #9 @m28ew 2010-03-31 ↳ Re: @blackknight
@blackknightCould you please post your system specs? I noticed that you have 64 bit mode working, which I haven't been able to do with snow 10.6.2. Also, the darwin 10.3.0 kernel sources haven't been posted yet, so we can't make new kernels yet.

thanks for the answer

and here is my specs :

- AMD Phenom II x4 965 BE c3
- Biostar TA790GX A3+
- 2X2GB OCZ AMD Platinum DDR3 PC12800 Dual Channel 7-7-7-24
- ATI HD3300 onboard (no QE/CI support)

Field Note #10 @RayFlower 2010-03-31

Hey, this didn't work for me after upgrading to 10.6.3 and replacing the mach_kernel with this one i get the following kernel panic:

Using a Phenom II X4 945
Gigabyte GA-MA790X-UD3P

Field Note #11 @eMatoS 2010-04-03

Over insanelymac there's a release by qoopz/nawcom of the new 10.3.0 kernel.

Field Note #12 @RayFlower 2010-04-03 ↳ Re: @blackknight
@blackknightDid you notice that the kernel is for 10.6.2 and not 10.6.3? Wait for a new kernel based on 10.6.3.

Yes, that I'm fully aware of, however i did a clean install, turns out my cpuids that i "fixed" with marvins tool caused a lot of touble, anyhow now i can boot into 10.6.3 just fine with this kernel, I'll check out the new kernel later today:)

Field Note #13 @ceti 2010-04-15 ↳ Re: @m28ew
@m28ewthanks for the answer and here is my specs : - AMD Phenom II x4 965 BE c3 - Biostar TA790GX A3+ - 2X2GB OCZ AMD Platinum DDR3 PC12800 Dual Channel 7-7-7-24 - ATI HD3300 onboard (no QE/CI support)

How did you get 64bit enable.

Field Note #14 @andyvand 2010-04-17

Can you please build a 10.6.3 kernel?
The patches go in cleanly... I've checked...

Field Note #15 @ceti 2010-04-17

andyvand,
what kind of file is this AnV_Qoopz_snow_leopard_xnu_rel2.diff, what do you
do with it.

Field Note #16 @ceti 2010-04-17

m28we,
How did you get 64bit enable. are the apps running.

Field Note #17 @sulphide 2010-04-18

vmware fusion 3.0.2 is not working with 10.3.0 of this kernel - always get kp on launch... with 10.3.0 Legacy Kernel for INTEL/AMD by qoopz/nawcom everything is ok, currently running win xp... don't know maybe reinstalling vmware will help? didn't try...
ps phenom II x4 925 ddr3 4gb, latest 10.6.3 osx

Field Note #18 @gipo 2010-04-18

Running great for me... very smooth.
My mouse run perfectly without lags... that were present with 10.3 by nawcom/qoopz
Xbench even raised up.

Field Note #19 @m28ew 2010-04-19

32-bits applications: quit unexpectedly

@ blackknight (osx 86.net/member.php?u=10148) :

thanks for the new patched kernel

1. in 32-bits mode (using flag: arch=i386) : all kexts & applications run OK

2. in 64-bits mode (using flag: -force64) :

+ both 32 & 64-bits kexts run OK
+ only 64-bits applications run OK

- all 32-bits application crash & quit unexpectedly with these errors :

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   dyld                              0x8fe2b7af _sysenter_trap + 3
1   dyld                              0x8fe2d5da mach_init + 47
2   dyld                              0x8fe01766 dyldbootstrap::start(macho_header const*, int, char const**, long) + 448
3   dyld                              0x8fe01057 _dyld_start + 39

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffffffe4  ebx: 0x8fe2d49c  ecx: 0xbffffabc  edx: 0x8fe2dce2
  edi: 0x00000000  esi: 0x00000000  ebp: 0xbffffb08  esp: 0xbffffabc
   ss: 0x0000001f  efl: 0x00010286  eip: 0x8fe2b7af   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000000
  cr2: 0x8fe2b7ac

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <211AF0DD-42D9-79C8-BB6A-1F4BEEF4B4AB> /usr/lib/dyld
Field Note #20 @andyvand 2010-04-21

It has to do with the sysenter instruction being unavailable on AMD.
We need sysenter emu / replacement code in custom dyld...

Field Note #21 @RayFlower 2010-04-21

Thanks, this kernel works fine for me with the exception of 64bit of course, however about the dyld fix, was this something that worked in leopard and can be backwards engineered or is this something completely different that will be hard to implement?

SL is still not an option to me because the experience is too unstable but i always keep a partition of it on a old ide drive to play around with, my main issue now is that some AudioUnit plugins(from ikmultimedia only) kills /usr/bin/avaltool which is the tool Logic and Logic Express uses to verify AudioUnits, this wasn't a problem with my previous SL install but i have no idea what causes this.

Otherwise SL on amd is now pretty stable after removing the necessary cpuids, so a big thumbs up for everyone who are involved with the development of this kernel and the kernels its based on:)

Field Note #22 @RayFlower 2010-05-03

A phenom optimized leopard kernel would be most welcome!

Field Note #23 @gotytytyty 2010-05-27

@ m28ew : Hi, how did you manage to install SL? I have the same motherboard as yours but mine gets stuck at " controller will be unloaded across sleep ".

Field Note #24 @andyvand 2010-05-27

This evening I'll make a full and complete kernel with otf patcher (cpuid + sysenter patcher). I'll post it when done... keep you posted
update:
voodoobuild.sh 60 procent done
dyld patch ready

Field Note #25 @Imkantus 2010-05-28 ↳ Re: @andyvand

Me, too!

Can't wait to try this... :

@andyvanddyld patch ready

Just for my interest & better understanding as kind of N00b regarding these things: dyld is used to load libraries, frameworks, etc needed by a process? And SYSENTER is an Opcode that is required by dyld to peform some kind of operation (64-Bit related?), but SYSENTER is not supported by AMD CPUs right?
So even with having that dyld Patch - I would still need to patch CPUIDs? And CPUID means that the software is checking if the machine is using a GenuineIntel CPU?

Sorry for that many (dumb?) questions & if I might be totally wrong - but I would realy appreciate to get some help with understanding things better.

Field Note #26 @andyvand 2010-05-29

sysenter is used by dyld to map the app and then run it.
the custom dyld uses syscall 8 (used to be old creat call in Tiger and older, customized to map segment).
Here is an update:
voodoobuild about 85 procent done
fixed Libc build issue, it now builds correct
fixed libsyscall, added dependencies from iokit and the required headers which were missing from IOUSBFamily and IOFireWireFamily, it now builds too.
Now all that is left is libsystem static libc build, dyld and then I can work on the kernel.
dyld will thus be finished today

Field Note #27 @andyvand 2010-06-03

progress:
fixed voodoobuild.sh for sl
fixed dyld, it now builds correct with patches applied
fixed libkld build (optional since sl)
still to do: xnu
I will first implement custom amd dyld + syscall 8 (for mapping the segment, required by amd dyld), then I'll focus on the cpuid + sysenter patcher.
just 2 more things to do on the checklist
I'll keep you posted on progress

Field Note #28 @RayFlower 2010-06-03

Awesome, can't wait!

Considered making a sourceforge account with svn/cvs/git or something when its done so people can easier contribute to the project opposed to rapidsharing thing?
Just a suggestion anyway, glad to see that someone is dedicated to make osx available and more accessible to all x86/64 users!

Field Note #29 @andyvand 2010-06-04

I am working on full 32 + 64 bit amd xnu
@blackknight: can you post a diff (your patch only, diff between my patch and yours)

Field Note #30 @ashp 2010-06-04

groundbreaking stuff i'm really excited been search ages for work like this on kernels I feel bad that i'm not as capable if there is any way i can help andy, please let me know.

Regards,
Ash

Show 16 additional community field notes (#31–#46)
Field Note #31 @gotytytyty 2010-06-09

Thanks, Andy! I'm very excited to hear the news
I'm using 10.3.0 Blackknight kernel. So far, everythings works wonderful, of course, i still can't run 32bit app in 64bit mode. However, I have a problem with installing After Effect CS5. It keep on asking for 64bit system for it to be installed. I've tried to install it in x64 mode, but I cant even run the installer in this mode.
I dont know if it's a kernel's problem or something else, and I really need After Effect.

Here is my specs:
AMD PHENOM II X4 B50 @3.6ghz (It's originally X2 but I unlocked it to X4. I still feel lucky! )
Mainboard BIOSTAR A3+

Thanks Andy and Blackknight for everything you guys have done so far! It's so meaningful to the OSX86 community

Field Note #32 @timberwolf5 2010-06-15

Hey andy any progress? btw 10.6.4 was just released today.

Field Note #33 @ashp 2010-06-19

Nawcom has also updated legacy kernel to 10.4.0

Legacy Kernel for Mac OS X 10.6.4 by nawcom using xnu 1504.7.4 sources. naw com.com/osx86/files/10.6/Kernels/10.4.0/legacy_kernel-10.4.0.pkg.zip

Regards,
Ash

Field Note #34 @timberwolf5 2010-06-23

I have been checking this everday hoping for an update.

Andy how's it coming along?

Field Note #35 @tomi 2010-06-27

Well, I've tried the 10.4.0 XNU kernel but for me, that one doesn't detect caches and disables my ability to use USB modems for internet. So far, this has been the only working kernel, which supports my phenom 955 fairly well.

I'm on 10.6.4 using this 10.3.0 kernel, it seems to work fine which suggests that Apple hasn't added anything major to the OS requiring new code. I suppose the only advantage I'd have with the 10.4.0 legacy kernel would be the on-the-fly CPUID patching. That's actually a neat feature.

I'll be checking this thread as well to see if anything comes along

All the best,
Tomi

Field Note #36 @assassinator 2010-11-15 ↳ Re: @blackknight
@blackknightI am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is,…

How do I add this in for 10.6.2 to make the KP stop? I'm on windows 7 and I don't know what to do with this I've booted it up many times

Field Note #37 @petkov 2011-05-30

10.6.7

I will very happy to see an 10.6.7 Kernel for My phenom9650 with correct detection.
Is there a light way for an newbie to patch kernel self.
What is the best Bootloader for Amd system?

Field Note #38 @gums 2011-07-21 ↳ Re: @blackknight
@blackknightI am making available a kernel that I modified from the 10.2.0 AnV/Qoopz diff file that includes a corrected FSB detection specifically for Phenoms. I did not alter the diff in any other way, so they deserve most of the credit for this one. Basically, my change checks for whether the processor is a Phenom or Shanghai and if it is,…

Can You Make Kernel For Lion
Your Kernel Is Greats Works 100% On Netbook Acer Aspire One 722 AMD C-50 Dual Core
: : :

Field Note #39 @digithree 2011-07-24

How to patch kernal

sorry this may be a stupid question but I downloaded your patch and don't know how to patch my boot image.

I've unpacked the ISO file. How do I use the patch? Do I just add the files (BK.diff and mach_kernal) or replace and rename some file?

Field Note #40 @digithree 2011-07-24

I'm trying to patch a Hazard ISO I got, filename is Snow_Leopard_10.6.1-10.6.2_SSE2_SSE3_Intel_AMD_by_Hazard. Will this patch work for it? I'm trying fix a kernal panic to do with my AMD Phenom II x6 1100T

Field Note #41 @wastez 2011-07-25

Are you sure that the kernel is the problem?
I know that there is a problem with amd x6 cpus but you can solve this issue by using the kernelflag -force64.

If it doesn´t work with hazard i would try the nawcom mod cd and a Snow Leopard Retail DVD.

Field Note #42 @digithree 2011-07-25

-force64 didn't work for me but I found a few flags that did

fsb=200000000 -x -v

this gets me to the install GUI but it doesn't seem to recognise the virtual sata hard drive (I'm using Virtual Box)

are there any tutorials or reference articles detailing the setup flags? I'd like to see what's possible, perhaps I need to specify what the hard drive is called or "where" it is, etc. Also I'd like to under stand it better, I know what FSB means but not what the -x flag does

EDIT: Do I need a kext for the virtual disks? how would that work?

EDIT: Here's a screen shot of the problem

Field Note #43 @wastez 2011-07-25

The -x flag is for booting into safe mode.

For your SATA- Controller you´ve to find out which kext will be needed.
I don´t know which kext is needed for virtual box and i also don´t know if there is any that will work. I just know that there is a solution to get it working in vmware.

You have to integrate it into your boot cd.
How you integrate it belongs to your boot-cd but usually kexts will be stored in Extra/Extensions or in System/Library/Extensions.

Field Note #44 @digithree 2011-07-25

Hi again, sorry I've kind of hijacked this thread but just wanted to see if I could get some more advice from you.

I got the hard drive working, turns out you need to use the disk utility to partition it. Thanks anyway.

Now I've got OSX installed and it boots! However it crashes after the Chameleon black screen turns into the grey screen with the silver Mac logo. I don't get the spinning loading symbol I'd expect near the bottom of the screen. The VirtualBox window just closes without any error message and without marking the last run as having been aborted.

I suspect it's either to do with the kernal(s) I have or with other custom packages I need to install. I've tried several options, such as using the Legacy Kernal v10.2.0, then using Mobdin v10.0 (which puts up a screen saying I need to reset the computer every time). I've tried putting on each of the System_Support/CMOS_Reset_Fix/ RTC packages, to no avail.

I've also tried adding the kernal supplied on this thread to the install ISO but can't find an ISO program that can do it properly! MagicISO can read the ISO the right way and add the file, but always says that it can't write the new ISO for some reason. But even if I did replace the kernal, surely that's just the install kernal? How would I add DarkKnight's kernals to the Kernal package options or maybe after it's installed?

I have a AMD Phenom II x6 1100T CPU 3.3GHz, 16 GB ram, ASRock 880G chipset motherboard running VirtualBox 4 on Windows 7 Home Premium.

Any help really appreciated. Thanks again!

Field Note #45 @wastez 2011-07-26

To help you we need a screenshot from the kernelpanic or something.
Without it we can´t help you. Your systems hardware doesn´t matter if you´re installing it on a virtual machine.
For the RTC fix you can edit your dsdt or you can use elliotforcertc.kext.
To install a other kernel just replace the mach_kernel or legacy_kernel in root on your drive and you have to look up in the boot.plist which kernel is used by default.

Did you try to find something about installing mac os x on virtualbox?
Because i´m not sure that it will work ever.

Why don´t you install it on your local system, because that would be the best solution?! VM´s are much slower running a cracked mac os x and working doesn´t make fun.

I also tried installing mac os on a vm but the speed is horrible.

I would think about it!

Field Note #46 @digithree 2011-07-26

So, for instance, run it on it's own partition? Interesting, I hadn't thought of it...

Can you recommend a good ISO editor because the ones I've used won't let me edit the ISO and save it. I've tried PowerISO, MagicISO, UltraISO and CDRoller. Even an ISO unpacker would be nice, could work with that because I have an ISO maker (that's all it does...) Could be for linux also because I have that running (on a virtual box).

Are there any good tutorials for editing boot.plist files and adding different kernals?

And one more question, on the install ISO, is the kernal in the root directory the install kernal, the kernal to be installed or both?

Corroborated & Participated: @jazZbaR @eMatoS @RayFlower @timberwolf5
Sources & Contributor Provenance (23 credited usernames · Thread #5112)
UsernameDossier ContributionDispatchesActive Window
@blackknightPrimary Author162010-01-03 → 2011-07-24
@andyvandCore Contributor82010-01-23 → 2010-06-04
@RayFlowerCore Contributor62010-03-31 → 2010-06-03
@digithreeCore Contributor52011-07-24 → 2011-07-26
@timberwolf5Core Contributor42010-05-31 → 2010-06-23
@m28ewCore Contributor32010-03-31 → 2010-04-19
@cetiCore Contributor32010-04-15 → 2010-04-17
@wastezCore Contributor32011-07-25 → 2011-07-26
@RetroRenContributor22010-01-04 → 2010-01-05
@eMatoSContributor22010-04-03 → 2010-05-28
@gotytytytyContributor22010-05-27 → 2010-06-09
@ashpContributor22010-06-04 → 2010-06-19
@toanbkContributor12010-01-04
@bhokutoContributor12010-03-19
@gednaContributor12010-03-26
@jazZbaRContributor12010-04-18
@sulphideContributor12010-04-18
@gipoContributor12010-04-18
@ImkantusContributor12010-05-28
@tomiContributor12010-06-27
@assassinatorContributor12010-11-15
@petkovContributor12011-05-30
@gumsContributor12011-07-21