macOS Catalina Cleanup Guide: Removing Legacy Kexts and Rebuilding Kernel Cache

It seems like you've provided a detailed process for users who are updating their Hackintosh from macOS Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave to macOS Success' href='/2020/12/install-macos-catalina-on-supported-pc.html'>Catalina and need to clean up kexts (kernel extensions) that were previously installed in the /Library/Extensions directory. The process includes deleting the unnecessary kexts and rebuilding the system's kernel cache. Here's a concise version of the instructions provided:

Guide Step by Step:

  1. Update to macOS Success' href='/2020/12/install-macos-catalina-on-supported-pc.html'>Catalina:

  2. Run MultiBeast 12:

  3. Remove Old Kexts:

    • Go to the /Library/Extensions directory and delete any third-party kexts that were installed by previous versions of MultiBeast or other methods.
  4. Terminal Commands:

    • Open Terminal from /Applications/Utilities.
    • Gain superuser access by typing sudo -s and entering your password.
    • Execute mount -uw / to mount the filesystem as writable.
    • Update the system's kext cache by typing touch /Library/Extensions /System/Library/Extensions.
    • Rebuild the kext cache with kextcache -i /.
  5. Reboot:

    • Restart your computer for the changes to take effect.

Note on Kexts:

  • The script provided in your message, Beast-Clean.sh, automates the process of removing kexts installed by MultiBeast. Users can run this script with superuser privileges and specify their volume name to clean their /Library/Extensions directory.
  • It is normal to find AppleMobileDevice.kext and EnergyDriver.kext in your system as they are part of macOS and, in the case of EnergyDriver.kext, installed by the Intel Power Gadget.

Caution:

  • Users should always back up their current system before making changes like these, especially when removing kexts or updating macOS.
  • Proceeding with these steps can affect system stability if not done correctly. It's recommended for users to ensure they are comfortable with Terminal and understand the commands they are executing.

Additional Tips:

  • For any issues during or after the cleanup process, users should refer to Hackintosh communities and forums for support.
  • Keeping your EFI partition's backup before making changes is also a good practice, as it allows for easy restoration if something goes wrong.

Please ensure you have a current backup before proceeding with these steps, as removing system files and altering kernel caches can potentially cause system instability if not done correctly.

Author: Tonymacx86