All posts by Saro

Fix Apple OSX 10.5.5 Update Problems

For anyone who screwed up the 10.5.5 update (either via Software Update or forgot to remove the AppleIntelCPUPowerManagement.kext) don’t fret. You can remove the problematic extension by booting off your OSX installation media (in my case, Kalyway 10.5.2) and using the Terminal console (under Utilities). This will drop you directly onto the root drive of OSX and allow you to do some modifications.

The next step is to find where your OSX is installed and modify whatever is needed. In my case, it was /Volumes/OSX/. Your volume name may differ. You can figure out what it is by typing “df” at the console and get a list of hard drives with their mount points.

Type in the following (by substituting <OSX> with your volume’s name):

# rm -rf /Volumes/<OSX>/System/Library/Extensions/AppleIntelCPUPowerManagement.kext

Next step is to repair the drive’s permissions. Quit the Terminal console entirely, and go to Disk Utility under Utilities. From there, find your OSX drive and click on “Repair Disk Permissions”. It’ll take a few minutes. Once the repair is complete, time to reboot.

At the boot prompt, type in the following: “-x -v -f”

After a few minutes, OSX should start up in Safe Boot and allow you to login. In my attempt, the desktop and top bar did not appear. Launching any available application in the dock started up the top bar in my case, so I was able to use Spotlight and launch Terminal. Now, we’re going to redo the 10.5.5 update. Hopefully you saved it somewhere reachable, such as your desktop.

First, let’s start by running the following command in a Terminal window:

# while sleep 1 ; do rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext ; done

While this is running in the background, let’s go ahead and launch the Disk Utility. Now, we’re going to mount the MacOSXUpd10.5.5.dmg (or the Combo or Delta update file). Go to File -> Open and find your .dmg file. It should successfully mount it.

Next step is to launch another Terminal window. This time, we’re going to start the 10.5.5 update package. In the console, type:

# cd /Volumes/Mac\ OS \X 10.5.5\ Update/
(HINT: or type “cd /Volumes/Mac <tab key> for it to autocomplete).

You should be in the mounted .DMG file’s contents. You can go ahead and type:

# open MacOSXUpd10.5.5.pkg

The 10.5.5 update application should begin. Within moments, you’ll notice your desktop reappear and everything seem like it’s back to normal. Once the installation is finished, [b]don’t reboot[/b]! We still have one more step to do.

Go to the Terminal window where we had the “while sleep 1…” command running (it was deleting the AppleIntelCPUPowerManagement.kext for us). Press CTRL + C to terminate the command. Using this window, it’s time to go to the InstallAtStartup directory and do a minor modification. Type:

# pico /System/InstallAtStartup/scripts/1

Look for the following string: “/System/Library/Extensions/Dont Steal Mac OS X.kext”

If you find it, rename it to: “/System/Library/Extensions/dsmos.kext”

If you cannot find it, don’t worry. I didn’t find it in my file, so it’s not mandatory. I added this step for precautionary reasons.

At this point, you can go ahead and modify or reinstall any .kexts your system needs. If you aren’t sure what to do in this step, cross your fingers.

Ok, time to reboot. Once OSX starts to load, you’ll notice that it reboots right away after showing a black screen. Don’t panic, this is normal. Your computer will restart once again. OSX should finally load at this point, and everything should be back to normal.

Tested on:
Kalyway 10.5.2 (base) -> 10.5.3 (Kalyway update) -> 10.5.4 (Software Update)
Asus P5K-VM, BFGTech 8800 GT OC

P5K-VM users will need to reinstall audio drivers after the 10.5.5 update.

Thanks to netkas.org. I hope this guide helps someone out. 🙂

This is for anyone who is getting the “No HPETs available” during OSX bootup.

Nine Inch Nails: Lights in the Sky North America Tour

I can’t believe I got my hands on these tickets. Floor tickets at that.

While I shelled out double than what the face value of the tickets are, I seriously don’t mind the cost one bit. For those out of the loop, NIN is back in town November 12th in Montreal. After 3 years of silence, they’re touring North and South America all over again. As of this writing, they’re on a two week ‘off’ period, taking a break. There’s roughly 2 months to go before I see them perform, which is going to kill me as I have no patience these days.

There’s an article over at Wired’s site discussing the tech behind a Nine Inch Nails show. When I saw them live three years ago, their visual effects were superb. Supposedly this time around, the effects far surpass anything they have done before. I can’t wait.

Jouets Choo Choo; Educational Toys in Montreal

I would like to take a small opportunity and introduce everyone to a new website that deals with educational toys: Jouets Choo Choo. They launched this week after several months of website development, and the site looks great. For anyone looking to buy educational toys (such as Playmobil, Schleich, Meccano, Ravensburger puzzles, Plan Toys, Thomas the Tank Engine, etc) then look no further, as their prices are the best. These guys have been in business for over ten (10) years now, with two stores active. One of the stores is located in Pointe-Claire (next to Fairview) and the other one, which was recently opened, is located at Quartier Dix-30 (right across Indigo mall). I actually know the owners personally (family friends) and they’re very friendly people with tons of experience in the toys department. If you ever wanted to get a gift for a newborn, young child or games that are non-violent for the kids, and you’re out of town, in a different province or simply too far away to visit the stores, Jouets Choo Choo’s online retail outlet is the answer to getting educational toys and games delivered to you. Check them out today!

The Dark Knight Review

I managed to get a pair of tickets to The Dark Knight premiere screening through a friend who has hookups with a local movie theater. The show was at 12:00 AM Friday morning, and there were quite a lot of people who were crazy like me to go see the Batman Begins sequel. I have been waiting for this movie to come out all summer when I first saw the preview. I’m sure it was announced well before the summer started, but I live under a rock so I’m good like that.

To get a good understanding of the continuation of the film, I watched Batman Begins with a few friends to simply refresh my memory on what had happened. Basically, Batman stopped the League of Shadows, managed to get rid of some dirty cops (although a lot still remain), made friends with the Lieutenant of the police force (then the chief of police) and succeeded in starting to turn Gotham city around for the better. As Bruce Wayne, he returned after a 7 year disappearance (his death warrant had been executed) and managed to regain control of his company, Wayne Enterprises. Finally, his mansion burned down (because of Ra’s al Ghul’s revenge on Bruce) damaging the Batcave as well (the south-east foundations). The movie ends with a new villain, calling himself the Joker, leaves a calling card for theatrical reasons. Batman promises the Lieutenant to look into it and this is where the sequel, The Dark Knight, resumes.

This movie was a lot darker than I had expected, and that’s a good thing. I always saw the Batman movies as dark, gritty films; it really adds a certain atmosphere to the entire series. Gotham City looks darker than ever in The Dark Knight. Throughout the movie, I was amazed as how they managed to pull it all off… I could even go as far as to say the movie was disturbing through certain parts. It was that evil.

Christian Bale yet again returns to give a stellar performance of him as Batman. Fact is, Bale never disappoints, as I’m a huge fan of his films (I love American Psycho; Equilibrium was superb). The Joker, played by the late Heath Ledger, is a phenomenal character. Wow is all I can say. It is up to par with Jack Nicholson’s portrayal of the Joker in Batman (1989 film by Tim Burton) if not better. Quite a shame we will never see the continuation of Ledger’s performance. A new face in the series, Harvey Dent (played by Aaron Eckhart from Thank You For Smoking fame) was also an amazing character to watch.

The movie definitely lived up to its hype my expections. Actually, it exceeded them. I’m going to watch The Dark Knight again sometime next week.

Mac OSX on X86 – Switching to the Dark Side

I never knew this day would come.

As of today, I have officially switched over my main operating system to OSX (Leopard 10.5.4). On a standard PC, that is.

This is a shock to many of my friends, whom would never see me switch over to an Apple product. As much I have surprised myself, it’s true, and I have one thing to say: I love OSX.

About two weeks ago, I simply had enough of my Windows XP machine. While I never had any major problems with it (just one I never got to solve) I was simply bored from using it. Okay, so it’s not the main reason, but it was definitely one of them. There were a few applications that were Mac-only, such as modul8, that enticed me to switch over (playing with the demo now). Another reason was to run my web design programs on a stable machine, allowing me to concentrate on my work rather than worry about the resources on hand. Plus, I needed an operating system that could handle my multitasking abilities (such as 50+ Firefox tabs, Dreamweaver, Photoshop, Messenger, etc. all open). I didn’t want to switch over to Linux, so OSX was the next viable choice. However, I didn’t want to purchase expensive Apple hardware, especially since the components they use are now ones from a standard x86 personal computer. So this is where the OSX86 Project came in to save the day.

What is the OSX86 Project

It’s very simple to explain what the OSX86 Project is and what it does. First, a bit of history.

A while ago, Apple switched over to Intel processors from IBM’s PowerPC chips. This resulted in a massive shift to PC-based hardware, as redesigning everything to be Mac-only would be utterly expensive. Now that Apple switched hardware, they recompiled OSX to be x86-ready. The new Mac era begins. OSX starts gaining popularity as a very secure and stable operating system. A lot of people start switching over to Macs, as they have become less expensive (still pricey, though).

This is where a group emerges, hoping to have an alternative to XP/Vista on the desktop after hearing about OSX so much. Since you can’t just install OSX on a regular PC, they begin hacking away at the OSX kernel (the core) in hopes of finding a way to circumvent the security measures placed by Apple during the setup routines. Basically, what makes a Mac a Mac is a simple chip on the motherboard that says “I’m a Mac, trust me”. If you figure out a way to bypass or spoof this chip, you’ve got yourself a Mac. It seems that finding a workaround was quite easy (and too technical to explain on this blog). Basically, from the wiki:

The “Trusted Platform Module,” or TPM, is a computer chip embedded inside Intel-based Macs to prevent the Intel-based version of Mac OS X from running on non-Apple hardware. During installation of Mac OS X, Mac OS X interfaces with the TPM. If Mac OS X finds that the TPM doesn’t exist, Mac OS X refuses to install or run.

Today, the OSX86 group has come such a long way (thanks to a multitude of individuals on their forums) that running Mac OSX is extremely simple and native. What I mean by native is that you don’t need to do anything complex to get the operating system running on your desktop. Once you have it installed, you can actually do software updates inside OSX and not worry about anything breaking. The kernel is vanilla and unmodified.

How I Switched Over to OSX from XP

Basically, the first step was to make sure all my existing applications were available on OSX. Sure enough, Dreamweaver or more importantly Adobe’s entire product line, were ported to OSX decades ago. A few of the games I am playing were also available on OSX, but I decided to keep an XP partition just for games whenever the urge came up. Lastly, I had to make sure my hardware was compatible with Leopard and that all drivers were readily available.

For those interested, here are my current computer specifications. The following is 100% compatible with Leopard 10.5.4.

  • Motherboard: Asus P5K-VM, with 4GB of DDR2-800 RAM from OCZ, onboard Realtek ALC883 HD audio
  • Processor: Intel Core 2 Duo E4600 2.4GHZ 800MHZ FSB
  • Video card: BFG Tech Geforce 8800GT OC 512MB
  • Hard drives: 2x Seagate 500 GB SATA2 7200 RPM

Installation of Leopard was easy, thanks to Kalyway’s installation media (available everywhere if you know where to look). However, before I installed the operating system, I had to partition my current hard drive into two. I basically decided to dedicate 120 GB to OSX (temporarly) and I did this using Partition Magic 8.0 on XP. Once I successfully partitioned the drive, I installed Kalyway’s Leopard OSX 10.5.4 using this guide. Everything was straight-forward and simple.

Once I booted into OSX the first time, a few things didn’t work out of the box as I had hoped. I had install the nVidia drivers manually, along with the sound card. The ethernet card worked out of the box, which was a huge bonus (as it allowed me to find solutions for the rest of my non-working hardware on the net). My Creative Audigy is sadly not compatible with OSX, but my onboard ALC883 is (and it’s just as good for my music listening habits). If you have an Asus P5K-VM motherboard, check out this thread for a great write-up on how to fix everything up.

All I can say in this review is that OSX flies with my hardware. Everything is super smooth, fast and stable. I have this warm fuzzy feeling inside now, and I look forward to going home to play with my new operating system. It also feels good to know that the architecture is the BSD kernel, which is damn secure. I love knowing the fact that spyware, adware, viruses or any type of malware won’t be on my system anytime in the future (unless of course, malware writers target OSX…).

This is my review for today. I’ll have a more detailed write-up in a month or two after I use it extensively with my work. So far so good!