Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
giovanealex

Deleted kexts, OSX stuck on boot, anything else to do on Recovery Mode Terminal?

2 posts in this topic

Recommended Posts

Hi guys.

Sometimes I am a complete noob, so I deleted two kexts from S/L/E and now my Asus Q200E laptop with OS X El Capitan boot hangs on kernel panic. I still can enter go through Clover to reach Recovery Mode and use Terminal, so I've put the two kexts on a USB pendrive and after some struggle I've managed to succefully copy them using Terminal, but the boot is still stuck on kernel panic. As I remember, these are the commands I've typed:

mount -rw

cp -a /Volumes/usb-stick/name.kext /Volumes/my-osx-drive/System/Library/Extensions

Is there anything else I should do? Is anything wrong? Should I type some command else? For instance, should I type something to fix permissions and rebuild cache?

Thanks a lot!

Share this post


Link to post
Share on other sites

Hi,

 

When in the terminal, check if the kexts are copied. 

ls /Volumes/my-osx-drive/System/Library/Extensions/name-of-kext.kext

If it does not give a notice that the file or folder can not be found, it should be present. 

2018-03-20-135247_634x113_scrot.png.6e51a5b584173721cdfefcfc45315df1.png

(Second line reads in Dutch, "Can not get access to '.....' File or folder does not exist.)

If however you get a notice, try to copy the files again, this time with verbose output:

cp -a -v /Volumes/usb-stick/name.kext /Volumes/my-osx-drive/System/Library/Extensions

This way you can trace what goes wrong. 

 

After all is copied, repair and rebuild.

rm -f /Volumes/my-osx-drive/System/Library/PrelinkedKernels/prelinkedkernel
touch /Volumes/my-osx-drive/System/Library/Extensions
kextcache -u /Volumes/my-osx-drive

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×