Twitter
Become an osx86.net member, click here to Register!
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By kyndder

Thread: [TIPS]Updating Distro`s

  1. #1
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default [TIPS]Updating Distro`s

    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 ...

    Code:
    kextstat | grep -v com.apple
    They should return something like this…



    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" ...

    Code:
    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
    Since we delete the kexts from "/System/Library/Extensions", we need repair
    permissions and rebuild the kext caches for her too ...

    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
    After that, we will restart to see if everything is alright ..

    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…

    Code:
    rm -rf /Volumes/NAMEOFOSXDISK/System/Library/Extensions/NAMEOFTHEKEXT.kext
    Replace NAMEOFOSXDISK for the name of your OS X installation Disk and NAMEOFTHEKEXT for the name of the next you want remove.

    If the file are in /Extra/Extensions…

    Code:
    rm -rf /Volumes/NAMEOFOSXDISK/Extra/Extensions/NAMEOFTHEKEXT.kext
    Replace NAMEOFOSXDISK for the name of your OS X installation Disk and NAMEOFTHEKEXT for the name of the next you want remove.


    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 ...
    Last edited by kyndder; 1st July 2011 at 04:31. Reason: Note for Modified Kernel
    shalu304 likes this.
    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack


  2. #2
    Senior Member AppliArt's Avatar
    Join Date
    Jul 2010
    Location
    Antwerpen
    Posts
    426
    Thanked
    0
    Downloads
    107
    Uploads
    2

    Default

    Great guide, surely will help people with these problems!

    Seems so easy for us when I look at it, unfortunately not for the most users here.


  3. #3
    Junior Member
    Join Date
    Jun 2011
    Posts
    8
    Thanked
    0
    Downloads
    19
    Uploads
    0

    Default

    i prefer to install retail instead of distro. but tutorial is good

    Sent from X10 2.2.1 DT

  4. #4
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default

    Quote Originally Posted by iPineapple View Post
    i prefer to install retail instead of distro. but tutorial is good

    Sent from X10 2.2.1 DT
    Yeah!!

    Me too, but the number of people that made Distro Install are bigger, and in most of cases are learners that made this kind
    of install...

    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack

  5. #5
    OSx86.net Crew kyndder's Avatar
    Join Date
    Dec 2010
    Location
    Sampa/Brazil
    Posts
    6,283
    Thanked
    0
    Downloads
    442
    Uploads
    8

    Default

    Added "pmVersion=0" flag to disable the kext SleepEnabler, following a tip from our friend Toltuga!


    Thanks Toltuga!!!

    MB - GA-P67A-D3-B3 / Processor - Core i5-2300 Sandy Bridge / RAM - Kingston 16Gb DDR3
    Hard Disk - SATA2 Samsung 1500Gb / SATA2 Samsung 500Gb / SATA2 Samsung 250Gb / SATA2 Maxtor 160Gb
    Drive DVD - SATA LG GH20NS15 / Lan - Realtek RTL8111E OnBoard / Audio1 - ALC889 / Audio2 - Audigy SB1394
    Video1 - NVidia Zotac GeForce GTS250 / Video2 - NVidia XFX GeForce 9600GSO
    Snow Leopard 10.6.8 x64 / Ubuntu 11.10 Beta2 x64 / OS X Lion 10.7.3 x64 / Playing with Android-x86
    Chameleon With Chameleon Wizard / DSDT With DSDT Editor and Patcher
    Previous Hack


  • Advertising

    advertising
    OSx86.net
    has no influence
    on advertisings
    that are displayed by
    Google Adsense

      
     

Similar Threads

  1. [TIPS]Setting SMBIOS Options
    By kyndder in forum Guides & Tutorials
    Replies: 6
    Last Post: 6th April 2012, 10:12
  2. [TIPS]Kexts and DeviceID`s
    By kyndder in forum Guides & Tutorials
    Replies: 14
    Last Post: 13th January 2012, 03:52
  3. [TIPS] Pacifist
    By kyndder in forum Guides & Tutorials
    Replies: 0
    Last Post: 18th June 2011, 18:06
  4. Tips for Newbies and Those Almost There
    By elmangomez in forum Guides & Tutorials
    Replies: 6
    Last Post: 1st February 2011, 18:16

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •