Jump to content

Snow Leopard on Bad Axe 2


MacGuy42
 Share

231 posts in this topic

Recommended Posts

I've tried to install Snow Leopard on my Bad Axe 2 and I'm getting kernel panics at the very beginning of the boot process, regardless of whether I boot in 64bit or 32bit mode. Has anyone had any success installing snow leopard on a bad axe 2?

Link to comment
Share on other sites

I've tried to install Snow Leopard on my Bad Axe 2 and I'm getting kernel panics at the very beginning of the boot process, regardless of whether I boot in 64bit or 32bit mode. Has anyone had any success installing snow leopard on a bad axe 2?

I'm also having KPs on Snow Leopard on my Badaxe2. My KP during boot is related to there being no secondary PCI IDE device- is that the same KP you're having?

 

Anyone know of a workaround for a 'disabled' (non-existant) secondary PCI IDE controller?

 

Thanks!

Link to comment
Share on other sites

Add me to the list of BadAxe2 owners who can't install SL without KP. I have retail vanilla 10.5.8 running 100% with just a few kexts added, but I'll be damned if I can get 10A432 to even boot for the install. I've tried all the approaches detailed over at infinitemac.com, but the boot just panics every time.

 

Normally I'd have a lot more patience for this, but the fact is, I've got SL running on two real Macs, and it's so nice I'm now obsessed with getting my Hac to run it as well.

 

Guess we just need to wait till the infinite number of monkeys banging on an infinite number of typewriters pound out the definitive BadAxe2 Snow Leopard guide. I'm doing my part to nail it down, but I concede there are far smarter monkeys here than me, and I welcome their input.

Link to comment
Share on other sites

I'm also having KPs on Snow Leopard on my Badaxe2. My KP during boot is related to there being no secondary PCI IDE device- is that the same KP you're having?

 

Anyone know of a workaround for a 'disabled' (non-existant) secondary PCI IDE controller?

 

Thanks!

 

My kernel panic is at the very beginning of the boot process. It says that the kernel panic is in "unknown".

Link to comment
Share on other sites

My kernel panic is at the very beginning of the boot process. It says that the kernel panic is in "unknown".

 

well, snow leopard is still in its infancy.

 

and seriously, everything is working FINE on my 10.5.7 system, so who cares about SL and all the stuff added to it, I have what I have no, and I think I can do what I need to do on my hackingtosh for the next 10 years,

Link to comment
Share on other sites

Add me to the list of BadAxe2 owners who can't install SL without KP. I have retail vanilla 10.5.8 running 100% with just a few kexts added, but I'll be damned if I can get 10A432 to even boot for the install. I've tried all the approaches detailed over at infinitemac.com, but the boot just panics every time.

 

Normally I'd have a lot more patience for this, but the fact is, I've got SL running on two real Macs, and it's so nice I'm now obsessed with getting my Hac to run it as well.

 

Guess we just need to wait till the infinite number of monkeys banging on an infinite number of typewriters pound out the definitive BadAxe2 Snow Leopard guide. I'm doing my part to nail it down, but I concede there are far smarter monkeys here than me, and I welcome their input.

 

I'm anxious to try out SL,but haven't installed it on any of my real macs yet- I'm waiting for my retail upgrade DVD ; )

 

I love my badaxe2 hackintosh and it's been working perfectly with the retail 10.5.8 ultimate badaxe pre/post cd. Everything works, including sleep and sound. I REALLY would like to try SL on the badaxe, it's got to work since it's so compatible with Leopard!

Link to comment
Share on other sites

I too tried the 10A432 disc on my Bad Axe 2 and had the near immediate KP, that otherwise has 100% vanilla on it with EFI.

 

Heck, I'm not even looking forward to messing with the EFI madness with the BXB2 that seems to be what we have to deal with after any install.

Link to comment
Share on other sites

Well, I've had a little bit of success at this point. The kernel panic that I was experiencing was related to IOATA kext. I deleted the SL version and replaced it with the 10.5.8 version and was able to boot in -x32 mode. Everything seemed to work- including sleep and my graphics card (with EFI method)

 

Unfortunately, the system isn't stable yet- I had the Disk Utility error about no packages installed, so went to install SL on another partition from within SL (a fix for this issue). Immediately upon beginning the install, however, I get a kernel panic.

 

Still working on it. . .anyone have any ideas?

Link to comment
Share on other sites

You can add me to the list of infinite monkeys. I also get a KP immediately on launching the installer.

 

phil a meant >>

Did you install SL from within Leopard? How did you do this? When I try this, the installer starts, gets about 1 tenth of the way and then reboots and all I get is a folder full of installer files called Mac OS X Install Data? Am I doing something stupid? Could my ISO be corrupt?

 

If this works, there must be a fix for the Disk Utility problem... are there any other issues? Is it stable? I've got a spare drive here itching for it!

 

Thanks,

 

_loosh_

Link to comment
Share on other sites

OK, so I read somewhere to enter this into Terminal:

 

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg

 

This does indeed launch the installer and go all the way through but then it fails right at the end! Says it cannot find a file on the new partition, or some such.

 

Has anyone any help?

 

Thanks,

 

_loosh_

Link to comment
Share on other sites

Update: Partitionning and Permission instructions

Update: Now working sound! (Even Mic!)

 

This method uses a flash drive to boot and install Snow Leopard.

 

Create USB Flash based Installer

 

Prepare the flash drive

Use Disk Utility to partition an USB Flash Drive to have at least two partitions (MBR). The first partition will be used to store the Extra's. The second partition will be used to store the Snow Leopard installer. Make sure the second partition is large enough to fit the installer. A 8 GB flash drive with a 1 and 7 GB partition will do fine I guess :) I called the first partition "USB Boot", the name of the second partition does not matter since it will be named after the DVD which we restore to it in the second step.

 

Copy the Install DVD

Use Disk Utility to "restore" the (dmg of your) Snow Leopard installer to this second partition.

 

Install the Bootloader(s)

Install Chameleon 2.0RC1 by hand on this flash drive. (Files are attached to this post.) Let's say the drive is disk7, then you would do the following:

sudo fdisk -f boot0 -u -y /dev/rdisk7
sudo dd if=boot1h of=/dev/rdisk7s1

Do not copy "boot" to the "USB Boot" partition, we will use Netkas' PC_EFI V10.1. Copy the 10.1 version (not the newest 10.2) named "boot" to the root of the "USB Boot" partition.

 

Use fdisk to set the bootflag! I have flagged the "USB Boot" partition in fdisk.

fdisk -e /dev/disk7
flag 1
write
quit

The command "flag 1" flags partition 1 as bootable, which in my case is the "USB Boot" partition. Alter the 1 according to your table, use the command "print" to view your partitions.

 

In finder, select the "USB Boot" disk and use cmd+i to show the information window. Make sure the checkbox indicated by arrow 2 (in the attached picture) is not checked, first unlock (1).

 

post-78618-1251538404_thumb.png

 

Add Extensions, DSDT.aml, and com.apple.Boot.plist

On the USB Boot partition, create a folder named "Extra" and "Extra/Extensions" and populate these with the following files. (Files are attached to this post.)

/Volumes/USB Boot/Extra:

  • DSDT.aml (use mine, or generate one using DSDTPatcherGUI_1.0.zip])
  • com.apple.Boot.plist (edit to your liking)

/Volumes/USB Boot/Extra/Extensions:

  • NullCPUPowerManagement.kext
  • SleepEnabler.kext
  • OpenHaltRestart.kext
  • fakesmc.kext
  • PlatformUUID.kext
  • IOAudioFamily.kext
  • OSvKernDSPLib.kext
  • VoodooHDA.kext

 

Generate Extensions.mkext

sudo kextcache -m /Volumes/USB Boot/Extra/Extensions.mkext /Volumes/USB Boot/Extra/Extensions/

 

 

Remove AppleIntelPIIXATA.kext

From the install partition on the flash drive, remove the extension "System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext".

 

Now we will try to boot the installer in single user mode to fix the Extensions.mkext on the installer.

 

Reboot your computer with the flash drive inserted, make sure that you have in the BIOS:

  • Boot from USB drive (duh!)
  • Your SATA settings as AHCI (crucial!)

 

Now you booted from the flash disk, you will see the Chameleon graphical bootloader, select using the arrow keys the Snow Leopard Install on your second partition of the flash drive. DO NOT PRESS ENTER, type the following:

-s -f -32

Now, you should NOT get a kernel panic, but boot to the single user mode instead. If you get a kernel panic, please try these things:

  1. Did you use the bootloader versions I mentioned, not the newer versions?!
  2. Do you have AHCI enabled in the BIOS?
  3. Did you remove the AppleIntelPIIXATA.kext?
  4. Maybe you should also remove the Extensions.mkext from the installer in two locations. System/Library/Extensions.mkext and System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

Now you booted in single user mode, rebuild the Extensions.mkext:

/sbin/fsck -fy
/sbin/mount -uw /
kextcache -v 1 -t -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions/
reboot

 

Now you should be able to boot into the Installer without any of the (-s -f -32) options.

 

Tip: You could (I did) add EFI strings for your Video card and Ethernet time machine fix in the com.apple.Boot.plist file!

 

 

 

Install (or Upgrade to) Snow Leopard

Now you have a bootable installer, just use the installer to install or uprade to Snow Leopard. I updgraded my existing Leopard installation and the installer finished without any complaints.

 

When the installation is finished, the installer wants to reboot your computer in 30 seconds. Please start Terminal before this time is over! Use the terminal to remove the extension "System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleIntelPIIXATA.kext" by hand from the newly installed system.

 

First Boot

Reboot (with still the flash drive inserted!)

 

In the Chameleon graphical bootloader, select your newly installed system and use the options "-s -f -32" to boot. Because we need to build the Extensions.mkext. Repeat the same commands you used to create the Extensions.mkext on the installer.

 

Second Boot

Reboot (with still the flash drive inserted!)

In the Chameleon graphical bootloader, select your newly installed system, you should be able to boot without any options. You could use "-v" to watch the boot process :)

 

Does it boot? Congratulations, you have a working Snow Leopard. You can use the methods described above to install the bootloader and Extra folder on your harddisk so you won't need the flash drive.

 

 

 

Some things:

Working

  • Sleep
  • Reboot
  • Halt
  • Timemachine
  • ... anything except sound ...

Not Working

  • Sound, when computer has slept once.

 

I tried Taruga's HDAPatcher, DSDT fixes, EFI strings... I have not yet succeeded. Please help :)

 

The EFI sting I used for my Geforce 7900 GS 512 MB + Time Machine Fix:

ab0200000100000002000000600200000d00000002010c00d041030a000000000101060000010101
060000007fff04000e0000004e00560050004d000000200000000100000000000000000000000000
0
000000000000000000000000000220000005600520041004d002c0074006f00740061006c0073006
9
007a006500000008000000000000201c0000006400650076006900630065005f0074007900700065
0
000000f0000004e5644412c506172656e740e0000006e0061006d00650000000b000000646973706
c
617922000000400030002c006400650076006900630065005f00740079007000650000000b000000
6
46973706c617922000000400031002c006400650076006900630065005f007400790070006500000
0
0b000000646973706c6179100000006d006f00640065006c0000001a0000006e5669646961204765
4
66f726365203739303020475320000000400031002c0063006f006d00700061007400690062006c0
0
650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d00650000001200
0
0004e5644412c446973706c61792d4114000000400031002c006e0061006d0065000000120000004
e
5644412c446973706c61792d4220000000400030002c0063006f006d00700061007400690062006c
0
0650000000e0000004e5644412c4e564d6163100000004e005600430041005000000018000000040
0
0000000003000c00000000000007000000001e00000072006f006d002d0072006500760069007300
6
9006f006e0000002e0000006e5669646961204765466f7263652037393030204753204f70656e474
c
20456e67696e65205b4546495d3f0000000100000002010c00d041030a0000000001010600051c01
0
1060000007fff0400160000006200750069006c0074002d0069006e0000000500000001

 

I based this on posts of:

  • johan (Extensions.mkext building)
  • olav (AHCI)
  • Ugucio (bootloaders, required extensions)
  • nonne9 (audio extensions)

DSDTPatcherGUI_1.0.zip

Snow_Leopard_on_D975XBX2.zip

Link to comment
Share on other sites

Couple of issues thus far ..

 

On the set boot flag, do you mean the "flag 2" thing, and is it done to the USB Boot partition? (that only has the few files in it)

 

On the mkext file;

 

No matter how persistent I am, chmod -R root:wheel *, chown -R 755 *, in that extras/extensions directory I can not get past:

 

ICBM:Extensions user$ sudo kextcache -m /Volumes/USB\ Boot/Extra/Extensions.mkext /Volumes/USB\ Boot/Extra/Extensions/

kernel extension /Volumes/USB Boot/Extra/Extensions/fakesmc.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/NullCPUPowerManagement.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/OpenHaltRestart.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/PlatformUUID.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/SleepEnabler.kext is not authentic (check ownership and permissions); skipping it and any plugins

couldn't find any valid bundles to archive

 

The permissions show correct, but the owner/group is user:staff no matter what.

 

 

Whats missing here? ;-)

Link to comment
Share on other sites

I have flagged the "USB Boot" partition in fdisk. Now I'm looking at it, it seems I used the MBR partition scheme on my flash drive, that should not matter I guess.

 

In finder, select the "USB Boot" disk and use cmd+i to show the information window. Make sure the checkbox indicated by arrow 2 (in the attached picture) is not checked, first unlock (1).

 

post-78618-1251537873_thumb.png

 

Now you should be able to successfully "chown -R 0:0 Extra" before generating the Extensions.mkext.

Link to comment
Share on other sites

Couple of issues thus far ..

 

On the set boot flag, do you mean the "flag 2" thing, and is it done to the USB Boot partition? (that only has the few files in it)

 

On the mkext file;

 

No matter how persistent I am, chmod -R root:wheel *, chown -R 755 *, in that extras/extensions directory I can not get past:

 

ICBM:Extensions user$ sudo kextcache -m /Volumes/USB\ Boot/Extra/Extensions.mkext /Volumes/USB\ Boot/Extra/Extensions/

kernel extension /Volumes/USB Boot/Extra/Extensions/fakesmc.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/NullCPUPowerManagement.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/OpenHaltRestart.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/PlatformUUID.kext is not authentic (check ownership and permissions); skipping it and any plugins

kernel extension /Volumes/USB Boot/Extra/Extensions/SleepEnabler.kext is not authentic (check ownership and permissions); skipping it and any plugins

couldn't find any valid bundles to archive

 

The permissions show correct, but the owner/group is user:staff no matter what.

 

 

Whats missing here? ;-)

 

The way I create Extensions.mkext is:

 

sudo chown -R 0:0 /path/to/Extra/
sudo chmod -R 755 /path/to/Extra/
sudo kextcache -a i386 -m /path/to/Extra/Extensions.mkext /path/to/Extra/Extensions

 

I just tried both on my SL partition and this version didn't throw up any errors. Can't get it to boot still....

Link to comment
Share on other sites

The way I create Extensions.mkext is:

 

sudo chown -R 0:0 /path/to/Extra/
sudo chmod -R 755 /path/to/Extra/
sudo kextcache -a i386 -m /path/to/Extra/Extensions.mkext /path/to/Extra/Extensions

 

I'm not sure about the -a i386 option.

 

"-a arch: Include in an mkext or prelinked kernel only kexts whose executable files contain code for arch, thinning the executables to that architecture before inclusion. Only one architecture is allowed when creating a prelinked kernel. Multiple architectures are allowed when creating an mkext; in this case a multi-architecture file is created containing an embedded mkext archive for each of the specified architectures. If no architectures are specified, a default set of architectures supported by the current Mac OS X version is used (Mac OS X 10.6 and later)."

 

It could strip 64 bit from the extensions.

 

I just tried both on my SL partition and this version didn't throw up any errors. Can't get it to boot still....

 

Do you get into the bootloader? Does it start loading extensions? Do you get a kernel panic? Does it boot your kernel? Can it mount the root volume?

 

Did you try the -s -f -32 options?

Is your SATA in AHCI mode (BIOS setting)?

Link to comment
Share on other sites

Do you get into the bootloader? Does it start loading extensions? Do you get a kernel panic? Does it boot your kernel? Can it mount the root volume?

 

Did you try the -s -f -32 options?

Is your SATA in AHCI mode (BIOS setting)?

 

I'm installing using OSInstall from 10.5. Using -s -f -32 it boots, loads extensions then panics without booting kernel.

 

I'm going to buy an 8gb stick tomorrow and use your method in full, I'll let you know how it goes.

Link to comment
Share on other sites

I'm installing using OSInstall from 10.5. Using -s -f -32 it boots, loads extensions then panics without booting kernel.

 

I'm going to buy an 8gb stick tomorrow and use your method in full, I'll let you know how it goes.

 

Ok, if you are not able to boot from an OSInstalled Snow Leopard, you won't have any more luck while using a flash drive... But, the install using a flash drive finished without any errors (even the upgrade of Leopard worked), while my attempts at an OSInstall failed while it was installing the printer drivers (left a bootable version though)...

 

So, try to make the OSInstalled version bootable... Try to remove all remaining Extensions.mkext on the installed version (if any). Did you remove the AppleIntelPIIXATA.kext?

Link to comment
Share on other sites

I ended up doing something similar and had it working quite well for a bit last evening..

 

In messing with the IOATA PII kext, and replacing it with the netkas one- the whole thing came apart fast.

 

I tried to replace the kext directory with the previous one and then all kinds of other things were causing KP's.

 

Dock app, teleport, and what not. Yes, 10.6 seems horrendously anal on permissions.

 

Basically, it was working pretty solidly until I started messing around with the nvidia kexts.

 

I have a 7900GS 512MB that has a device ID of 0292, and I was not having any luck with getting more than 1024x768 selectable.

 

As well, the performance was sluggish on it, so it was obviously in peril.

 

No EFI string I put into the boot plist made a bit of difference.

 

I did get the Marvel controller working and I didn't get a chance to verify it, but during verbose boots I saw a report of a 10MBit connection from the NIC. A drop from the Hudson river to a garden hose would be hard to swallow.

 

I should have noted, in light of the issues of fighting the permissions, when I ended up doing was installing the OS to the drive the way the other BadAxe2 Kernel Panic thread described, but using the boot loaders mentioned here.

 

The flagging is still a bit unclear, when you do the P you see 4 items, 3 of which are empty. I ended up just picking the first one and used that.

 

This is all from a working 10.5.8 install.

 

Another thing I saw was when the SATA devices were listed as unknown in 10.6, and I see them now as ICH7-R.

 

Does Kext Helper or OSx86Tools work the same with 10.6? I'd like a way to know I'm making a decent backup of the kexts since doing it the way I've always done it didn't work with 10.6 and the only way to use KextUtil is to boot the volume you wish to use the util on.. which .. you can't if you have a bad kext issue.

 

Oh, also- an old way to keep the installer from rebooting your computer "in 30 seconds" when it's done, is to open the Installer Log window (from the window menu) and leave that in the front.

 

Then you can go away and come back .. you can open a terminal window after the installer is done, do your thing and quit and then it will reboot.

Link to comment
Share on other sites

Ok, if you are not able to boot from an OSInstalled Snow Leopard, you won't have any more luck while using a flash drive... But, the install using a flash drive finished without any errors (even the upgrade of Leopard worked), while my attempts at an OSInstall failed while it was installing the printer drivers (left a bootable version though)...

 

So, try to make the OSInstalled version bootable... Try to remove all remaining Extensions.mkext on the installed version (if any). Did you remove the AppleIntelPIIXATA.kext?

 

I've got it booting now. First time it stalled at VoodooHDA, so I removed that, created Extensions.mkext again and now it seems to stop at ACPI_SMC_PlatformPlugin:

 

post-53195-1251583748_thumb.jpg

 

I've tried all the switches -v -f -x -32 and it stops here every time :-(

 

Any ideas?

Link to comment
Share on other sites

Argh - still having problems with this.

 

So, I've got the partition fine and booting, however when I try to build the Mkexts, I get problems.

 

For the Mkext for the Extra/Extensions folder, I use the CHOWN and CHMOD commands (as I get the same error without that CuriousMac gets. When I do, I get the following on each of the kexts:

 

Warning: kernel extension /Volumes/EFI/Extra/Extensions/fakesmc.kext is missing dependencies (including in cache anyway; dependencies may be available from elsewhere)

 

For the installer, I have ownership problems:

 

/sbin/fsck -fy
/sbin/mount -uw /
kextcache -v 1 -t -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions/
reboot

 

When I enter the kextcache command from the single user mode of the installer, I get the error:

 

Can't create kext cache under / - owner not root

 

When I boot from the DVD afterward it boots until it gets to what I believe would be the country chooser but the screen is grey with nothing on it other than the cursor.

 

Thanks everyone, getting a lot closer!

 

_loosh_

Link to comment
Share on other sites

 Share

×
×
  • Create New...