First of all Read this > myHack » Blog Archive » Why “OSx86 Distros” are bad. "Thanks to all MyHack team for this Explanation"
Hy!!
Many people have problems when they want to upgrade your system
but they did the installation using Distro`s DVD`s as Hazard, iATKOS,
Kalyway, Leo4All, etc ...
These problems occur because each system upgrade
are adding new drivers (kexts) for the devices, and most
often, these new drivers override those contained some
modifications specific to our hardware ...
Before anything, make a Backup of your Extenions folder following
this step…
Code:sudo -s TYPEYOURPASSWORD cp -r /System/Library/Extensions /PATHTOBACKUP/Extensions.backup
Replace PATHTOBACKUP for the path you want to store the Backup...
The first requirement to get an update without many
problems, is know what drivers (kexts) are required for the operation
of our system, an easy way to find out it is running the
following command in a terminal ...
They should return something like this…Code:kextstat | grep -v com.apple
What we see in the picture above, are all non-Apple kexts
in use on our system ...
With this information in hand, the first thing to do is see if all
these kexts are in the "/Extra/Extensions" folder, which is a folder used
for the Boot loader in addition to folder "/System/Library/Extensions"
where all the drivers (kexts) original from Apple are stored…
If these kexts are not there, the probability that we have a
Kernel Panic or some device crash is too big ...
If not, copy it from "/System/Library/Extensions", repair the kexts
permissions and rebuild the kext caches with the following commands
and then, delete him of "/System/Library/Extensions" ...
Since we delete the kexts from "/System/Library/Extensions", we need repairCode:chown -R 0:0 /Extra/Extensions/* chmod -R 755 /Extra/Extensions/* kextcache -v 3 -a i386 -a x86_64 -m /Extra/Extensions.mkext -z /Extra/Extensions
permissions and rebuild the kext caches for her too ...
After that, we will restart to see if everything is alright ..Code:chown -R 0:0 /System/Library/Extensions/* chmod -R 755 /System/Library/Extensions/* kextcache -v 3 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions
TIP: Always after we made changes to system files, we must boot in Verbose Mode ( -v ),
this way, if we got any error, we can know what causes the error ...
Well, if everything went well so far, let's update the system ...
Download from here the latest Mac OS X v10.6.X Update Combo > Apple - Support - Downloads
Download from here the latest Mac OS X v10.5.X Update Combo > Apple - Support - Downloads
After download the Update Combo, install, restart and boot in Verbose Mode ( -v )…
Theoretically, if you followed the above correctly, you don`t need to do anything to get into
the system, but sometimes, we still need to make some adjustments to get it ...
Sometimes we use some kext that might conflict with another, the most common are listed below...
SleepEnabler.kext
VoodooHDA.kext
AppleTyMCEDriver.kext
Many people are scared and mistakenly think that the only thing to do, is to reinstall the whole system ...
But in reality, the above cases are very simple to solve, we only need to delete these kexts ...
The image below shows how we can discover what is causing the error, always ignore the "Dependency" ...
Then, to remove the kext, we must use the installation DVD ...
Start normally as we going to install, after the language selection, go to Utilities / Terminal ...
Once the Terminal window open, use the following command to remove the kext...
If the file are in /System/Library/Extensions…
Replace NAMEOFOSXDISK for the name of your OS X installation Disk and NAMEOFTHEKEXT for the name of the next you want remove.Code:rm -rf /Volumes/NAMEOFOSXDISK/System/Library/Extensions/NAMEOFTHEKEXT.kext
If the file are in /Extra/Extensions…
Replace NAMEOFOSXDISK for the name of your OS X installation Disk and NAMEOFTHEKEXT for the name of the next you want remove.Code:rm -rf /Volumes/NAMEOFOSXDISK/Extra/Extensions/NAMEOFTHEKEXT.kext
Note: Only for SleepEnabler Panic you can use this flag to disable the kext > pmVersion=0
Note:For VoodooHDA.kext and "only" for him, you should remove AppleHDA.kext instead of VoodooHDA.kext…
Here is a list with the most of the kexts used by OS X and a brief description of what she does,
if not a necessary kext for the system operation, you can remove it, and if you have any questions, you can always
ask here ... "Thanks to Project OS X and to "realityiswhere" for the hard work!"
Kernel Extensions - Kexts - Project OS X Forums
After you remove, quit the Terminal and reboot the machine, and remember, always boot in Verbose Mode after
you made changes on system files, and if you still having issues, post here...
NOTE: For AMD users and others who need modified kernel, don`t forget after update and before restart the system,
it`s needed to reinstall a Kernel compatible with the version of OS X that you just update.
I hope this guide will help many people who have problems when upgrading
OS X or who were afraid to do it again and having to reinstall the whole system ...



1Likes
LinkBack URL
About LinkBacks



Reply With Quote





