Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I was playing around with Coolbook and stupidly enough deleted the two kernel extensions (kexts) without saving them to a backup location.

How can I recover just AppleIntelCPUPowermanagementClient.kext and AppleIntelCPUPowermanagement.kext without reinstalling my OS?

These files exist in /System/Library/Extensions/ and I am running OS X Lion 10.7.3 preferably. I have searched for these on internet downloads, but can't find any and wouldn't want to blindly trust them if I can't tell they are unaltered.

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

The first thing you should try is installing the OS X Lion Update 10.7.3 (Client Combo). If that doesn't replace those files then you'd have to reinstall OS X over your existing install.

However, since you're already messing around inside the System folder, you may be interested in trying to copy those files from your Recovery HD partition. To do this, you need to mount the Recovery HD, then mount the Base System image on it.

  1. Mount the Recovery HD in Terminal with this command:

    diskutil mount "Recovery HD"
    
  2. Mount the BaseSystem.dmg with this command:

    hdiutil mount /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg
    
  3. You can then try copying the files from the "Mac OS X Base System" disk image to your system folder. After copying, make sure the owner/permissions are correct (running Disk Utility's repair permissions would be a good idea).

I haven't tested this, but the file sizes of each is the same in both the Base System image and the full install of OS X, so it seems likely they're the same.

share|improve this answer
    
thank you very much :) –  MJB Mar 9 '12 at 3:08
add comment

I just checked and found both in the 10.7.3 combo update (in MacOSXUpdCombo10.7.3.pkg) , which is a 1.26 GB download - but legal. For handling .pkg see this answer.

share|improve this answer
add comment

You should reinstall from your original media; it isn't legal for anyone to distribute those separately.

share|improve this answer
1  
Thank you for pointing out that redistributing the OS goes against the wording of part of the end user license agreement for Lion. Even though legality is something for courts and lawyers I will see if the question can be edited to get an answer and edit acceptable to the asker. –  bmike Mar 9 '12 at 0:56
    
I had no idea, sorry about that! –  MJB Mar 9 '12 at 3:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.