mattgadient.com

The “Kalyway” OSX 10.5.2 install experience

Some of you may have read my previous experience installing OS X Tiger on “whitebox” computers. I tinkered with it on and off from 10.4.6 to 10.4.8 on various machines but haven’t really played with the new versions until recently.

A couple months ago, I got a hold of a couple installers – iATKOS v1.0i, and the Kalyway 10.5.1 OS X installers. I was doing re-installs of Windows at the time on a few different machines, so I tried the OS X installers to see if things had progressed to the point where it was a simple install-go-and-everything-works sort of thing. It wasn’t (which answered that question), and I didn’t touch it again. Until now that is…

The first machine that’s seen the install today consists of an ASUS p5PE-VM motherboard, Intel Pentium E2140 Dual-Core processor, 2x1gb generic DDR400 ram, XFX GeForce 6600GT 128MB AGP Video Card, Seagate 7200.9 300mb IDE hard drive, and an el-cheapo LG dvd-burner. The motherboard was bought a while back, and chosen because it’s based on intel’s 865 chipset, and supported the dual-core processor I was looking to use (the 915/925 chipset does not support dual core) while still using regular DDR ram and an AGP video card. Had I been looking to use DDR2 and PCI-E, I would have jumped up to the 945. Dual-core processor was chosen because I wanted to try a “vanilla kernel”. The video card was chosen because I’ve used a 6600GT (different brand though) with 10.4.6 in the past which had worked, and I happen to actually like that card and had an extra around. Hard drive and CD ROM drive weren’t specially chosen – they’re what happened to be in the machine.

So enough background – on to the install…

My first attempt was a Kalyway install with a GUID partition table, both the vanilla options selected, as well as NVinject. It eventually had an error message and that was it for the install.

Second attempt was an iATKOS install with an MBR partition table, Stock Kernel, Stock AppleACPI, NVinject 128mb, AGPGart 2.4.9, and the Marvel Yukon network driver options selected. A little background here – there were Natit vs NVinject options. I read in a thread that NVinject was newer which is why I used it. To be honest I have no idea whether or not AGPGart is needed or helpful (or problematic even?). It’s really tough to find additional info on a lot of these options above and beyond the short writeups included in the installer. In any case, another failed install. Eventually the computer restarted, and just kept restarting over and over.

Third, I went back to trying the Kalyway installer. I decided to set up 2 partitions under MBR this time. First was a 200GB HFS+ Extended for OS X, and the 2nd was an 80GB FAT for a Windows install). Chose just the Vanilla kernel option and NVinject. It worked! Installer completed successfully, and the computer restarted.

However, 2 new problems arose. First, the partition would only start up when the DVD was in the drive. Take the DVD out, and you’d get a black screen with the blinking cursor. Second, when going through the initial setup, when it asks if you want to transfer your account from another mac, it would freeze and then restart the welcome sequence. This would happen over and over again. I installed Vista on the other partition while I looked for answers.

Problem 1: OS X only starts when install DVD is in the drive. My first guess was that the partition wasn’t set to “active”. Used a utility in the “Ultimate Boot CD” to check, but unfortunately, it *was* already set to active. Went to go through the usual steps for setting a partition active through the Terminal on the install DVD, but now the Kalyway DVD was crashing with a kernel panic every time it started. iATKOS DVD was still booting, so I popped it in, started the installer, opened Terminal, went through the steps, restarted, and… still no go. It still needed the Kalyway DVD to be in the drive for the hard drive to boot. I was puzzled.

Solution: Saw a message in a forum which pointed to this page. First, I needed the “post install patch file” which there’s a link to in the “What you’ll need” section. I extracted the files to a USB memory stick, and then followed these instructions from the site:

The Bootfix patch

After reboot, if the system boots into Leopard fine, ignore this part and head to next section to setup multi boot. Otherwise, you might encounter blinking cursor or HFS+ Error, follow the steps below then

 

If you install Leopard without Tiger first, the system might still boot into Windows instead or leave a system unbootable at all. Even the tboot loader trick(see below) wouldn’t work. In this case, you need to repair the installation and setup boot property for it.

  1. Reboot using the Leopard DVD, make sure the USB pen drive is connected.
  2. Open a terminal after everything finally loads.
  3. Find out what disk your leopard was installed on by issuing this command (my machine was rdisk0s2, will use rdiskXsY below, substitute accordingly)
    diskutil list
  4. Active the partition
    fdisk -e /dev/rdiskX
    fdisk: 0>update
    fdisk:*0> f Y
     Partition 2 marked active
    fdisk:*0> w Device could not be accessed exclusively.
    A reboot will be needed
    for changes to take effect. OK? [n] y
    Writing MBR at offset 0.
    fdisk: 0> q
  5. Now goto bootfix directory by typing:

    cd /Volumes/123/files/bootfix

    and do the following

    ./dd if=/usr/standalone/i386/boot1h of=/dev/rdiskXsY bs=512 count=1
    umount /Volumes/Leopard
    ./startupfiletool -v /dev/rdiskXsY /usr/standalone/i386/boot
    ./bless -device /dev/diskXsY -setBoot -verbose

reboot

The first part of the instructions are essentially what I’d done to try and set the partition active. However the stuff from the USB memory stick was obviously what was needed to fix whatever the issue was. For anyone who ends up doing the same thing and is more of a “copy/paste” sort of person when following instructions, note that anywhere you see “diskXsY”, you have to put in your own disk number for X and partition number for Y. You *should* be able to figure it out when you do the “diskutil list” from step 3.  Also, “123” is the name that the USB memory stick was given (change that if you didn’t name yours), and /Volumes/Leopard should be /Volumes/WhateverYouNamedYourVolume”.

Had it not worked, my last resorts would have been completely zero-ing out the drive (something that someone else had mentioned in a thread assuming that there was data corruption in the boot sector), or reactivating the Vista partition as the boot partition, and trying to use chain0 / tboot.

Problem 2: Set-up sequence freezes and restarts after it asks if you want to transfer your account. I recalled this happening a couple months ago also.

Solution: Found some great answers here. First option (transfer an account from Tiger) wasn’t an option I wanted to use just yet. 2nd option (setting resolution to 640×480) didn’t work either – resolution changed, but the installer still came up and hung. 3rd option (disabling network card in bios) didn’t work either. The 4th and final option *did* work:

Boot using “-s” flag then type ->

/sbin/mount -uw /
passwd root
(Type any password you want)
touch /var/db/.AppleSetupDone
reboot

Note that the login name becomes “root” and the password is whatever you entered in when it asked you for one after you typed “passwd root” and hit enter.

Last issue was just a matter of installing a kext for the Marvel 88E8001 network adapter built in to the motherboard. Grabbed it from the thread here.

At the point, everything’s working perfectly. I can log in, sound, network, QE/CI etc are all up and running. Awesome. Just a couple things remained.

Transferring settings from another machine. The old Tiger install I had running… I wanted to try and transfer everything. Popped out the hard-drive (no firewire here), put it in the new machine, ran Migration Assistant, and it found everything and transferred the account over rather perfectly. I won’t be surprised if I find an issue/hiccup here or there with something that wants to be finicky, but for the most part it was a smooth transition.

Updating to 10.5.2. Grabbed the Kalyway 10.5.2 Combo Update as well as the kernels. I really thought the combo update had frozen the system – about 5-10 minutes went by where the screen was blank during the next startup. I left it though, and eventually the screen came back up. The kernel update went without a hitch, although it had to be unzipped on the Mac (unzipping on the Windows machine and copying the package over resulted in the package not running).

16 Comments

 | Leave a Comment Sort by Oldest | Sort by Newest
  1. hey, i have the same board and processor as you, using a slightly different vid card gfx5500 256mb agp card. I was able to get the kaly dvd to install but it will only boot with tohkernel, or cpus=1, or by booting the dvd drive with rd=disk0s1.

    I ran through the steps to fix the boot disk but it always fails the bless piece. it comes back with something like:

    could not set boot device property: 0xe00002c7

    any tips for me. ive been through 5 or so hack macs and own a mbp pro. im a sys admin and consider myself proficient in the hack mac world and cannot get this going.

    dave

  2. If you were able to actually get to the point of being able to type in options and boot *without* the dvd being in (even if you needed special flags), then the steps for the boot disk were unnecessary. You only need to go through them if it won’t boot from the hard drive unless the DVD is inserted as well.

    If that’s the case, I’m assuming what you’re trying to do is get a vanilla install working, and it’s… well not booting with the vanilla kernel. By default, I *believe* the DVD boots using the *patched* kernel, which might be why it would boot from the DVD drive using rd=disk0s1.

    Try this: Boot the installer from the DVD using the “vanilla” flag. If it doesn’t boot with that flag, then you’re *probably* looking at a BIOS setting, although I wouldn’t rule out cranky hardware. If however it boots from the DVD with the vanilla flag, then I’d be inclined to think you need to install to the hard drive with different options (maybe start with *just* the Vanilla option during the install and nothing else selected).

  3. Just to clarify, in the first paragraph I mean if it won’t booth from the hard drive *at all* unless the DVD is inserted as well. Like blank screen with the cursor flashing, can’t press F8 to get the boot menu, etc.

  4. hello there, my problem is that when i want to shut down/reboot it freezes with the circle spining
    please help, thank you

  5. I have downloaded Kalyway 10.5.2 iso image. Burned the iso to DVD. Installation detects all the partitions available on my SATA HDD. Formated one of the 20GB partition with journled file system. Installation goes quite ok till the 4 minutes remaining and freezes there. I tried lots of combinations in package selection and also tried to reinstall on same partition without changing it, but not able to move ahead of the 4 minutes remaining mark. My system configuration is as under…

    Processor:AMD Athlon 64 3200+
    Motherboard:A8N-VM CSM
    Network:onboard nforce 430
    Grphics:onboard nvidia 6150
    Audio: Onboard
    RAM: 512MB

    Please guide me i am missing anything or if it is the know problem, is there any way to overcome the same.

  6. Manoj Prajwal

    I tried doing what you said…. I was facing the first problem, i.e. trying to boot into the os without the install disk was impossible. After applying your solution, the system freezes at the grey screen with the apple logo…. Help…!!!! Plz..!!! I am using a Kalyway 10.5.2 installer on a system running on an Intel Q6600 2.4 GHz, Intel DG33FB MoBo, 2GB 800 MHz RAM, a WinFast 8600GT and a 160 GB HDD

  7. Been a little backed up, and don’t have OSX on any of my main machines anymore, so I’ll try to go from memory here….

    fear: I’ve had that issue on some systems. More commonly, it will freeze during shutdown although it will restart fine. To be honest it really isn’t something that concerned me a great deal, so I didn’t look a lot into fixing it. I *believe* (not positive here), that it’s generally something to do with the kernel + many systems. Haven’t checked the osx86 scene lately, but if there are other kernels available, you could give them a try. If everything else is working great though, I’d probably just leave it. When it freezes at the shutdown just manually shut off the computer with the power button.

    chipwizz: I’ve had the same thing happen on multiple occasions (freeze and/or error partway through the install), and basically went through the same steps as you (also tried a non-kalyway install). In some cases, different selections in the package installation helped. I’d try removing just about *every* package except the absolutely-necessary-to-boot stuff (kernel etc), just to see if you can get it to at least *finish*. If it works, then 1 by 1 add packages. The other thing to try is reburning the image. I’ve had to try multiple disks burnt at different speeds before. If all else fails, you could try downloading the image again, since I’ve heard of cases where an image was corrupted and caused similar issues (although I’ve never had that problem in particular).

    Manoj: I’ve had that happen – gets to the grey screen and then freezes. It’s usually been one of two things:
    -Keyboard/mouse/USB related – try using both a USB mouse/keyboard, or both PS/2 style mouse/keyboard. Make sure any other USB stuff is unplugged.
    -BIOS settings – Massive headaches here, and trial/error is the only way to eliminate possibilities. Try disabling/enabling stuff like EIST and other CPU specific features. Also ACPI (or APIC – dont remember off the top of my head) stuff. Every time I’ve had an issue here, it was a BIOS or CPU related *feature*. I wouldn’t bother with CPU/memory *timings*, since they’ve never been an issue. You could also try a different installer/kernel.

    Good luck guys.

  8. my install freezes at about 75%

    specs:
    msi ms6743 mainboard 865gm2 chipset
    intel pentium 4 prescott 2.8ghz
    intel gma graphics

  9. Manoj Prajwal

    Thanks a lot Matt… Will try it out and tell you what happens… 🙂

  10. I’ve also had the problem where it freezes at the gray screen. I’ve messed with different settings. The patch only worsened the problem. I followed all the instructions on the Digitmemo page (only installing the base system, applying the patch, etc), however, now it shows the gray screen for a fraction of a second and then restarts.

    I know other people have gotten it to work… Anyway, if anyone would help me pick out the drivers I’d really appreciate it…

    Dell Inspiron 1501

    * AMD Sempron 3500+ (1.8GHz/512Kb)
    * ATI Xpress 1150
    * 80GB 5400RPM SATA Hard Drive
    * Dell 1390 802.11g Mini Wireless Card

    Eh, I’m not exactly nooby with computer stuff, but I’m rather far from complete expert-master-person, so if I left anything out, please tell me.

    • Robby Harkins:

      It’s been quite some time since your comment (I’ve been slow keeping up). The latest package I’ve tried is the iDeneb 1.3 (Mac OS X 10.5.5). I’ve never bothered with AMD processors because they’re less-than-perfectly-compatible. However the iDeneb that I installed did have a lot of drivers/kexts included, and I also noticed some AMD options, so I’d suggest giving it a try (it also didn’t need me fiddling around with any boot stuff).

      Not sure what the Sempron 3500+ has, but doublecheck and make sure it’s got SSE2 at least (and preferably SSE3 too). I know some of the older AMD stuff only had SSE.

  11. I was Trying to install MAC OSX on my PC. The config of my sys is
    Mother Board: ASUS M2N VM DVI
    Processor: AMD Athalon 5600
    RAM: 1Gb*2 DDR2 RAm 800 Mhz
    Hard Disk: 250 Gb e-STAT (seagate)
    I haveA problem that When ever i tried to install Kalyway MAc OSX On my system it boots up it is not able to detect the boot device the hard disk wont respons to it.
    I have tried the same thing on my friend laptop it workrd and it got installed also.
    So any one plz help To solve this problem…
    my email ID is: prashantpatwal@gmail.com

  12. I am Using Kalyway 10.5.2 MAc OSX

  13. My problem: I cannot get to the install screen. I tried cpus=1, -v, -v -x- -y cpus=1, and alot of different combos. This is what my problem looks like: http://www.youtube.com/watch?v=_uzWXxDkx_M it is not my video but that is what happens – I get a black screen! Other times when I insert the disc it goes to a black screen (with nothing on it) before even doing anything. HELP!!

  14. @zac
    I forgot to mention that if you guys have a solution to my problem then just email me at grawkiller73@gmail.com

  15. @ Mathew and David

    guys please help me with the bios settings you used to install kalway and the kext if it’s ok with you. I accidentally installed iatkos v7 with the same board but stocked with an apple logo, after reinstalling the iatkos v7 I can’t get a successful installation. it says “the installer could not validate 10.5.7.intel. I’m not sure how did i get a successful installation at first. so I decided now to use the kalway but i have no idea what settings and kext i will select.

    thank you in advance

Leave a Comment

You can use an alias and fake email. However, if you choose to use a real email, "gravatars" are supported. You can check the privacy policy for more details.

To reduce spam, I manually approve all comments, so don't panic if your comment doesn't show up immediately.