Jump to content
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
Advertisement

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.

  • Similar Content

    • By fusion71au
      Clover r4799 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4799 for VMware.zip". Mount Clover-v2.4k-4799-X64 by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By Mattbatt
      First post, thank you all for any help offered. I am coming from a certain commercialized hackintosh community - after seeing such amazing vanilla installs and reading of the talent here, I decided to have a go at not using such software methods. And I immediately got myself into a predicament 
       
      BACKSTORY
      I successfully upgraded from Mavericks to Mojave 10.14.2 but decided to start over and do a clean install because my Vega Frontier was not playing OOB even with Lilu & whatevergreen - and there was a lot of 'code junk' Clover barfed at boot from this 'commercialized software'.
       
      SUCCESS
      I created Mojave USB installer from scratch using the latest Clover, it worked fine, got me to the Mojave install screen.
       
      PROBLEM
      For reasons unknown to me, I decided for one last ditch effort to see if I could get my already installed Mojave playing nicer - instead of starting over clean. So I installed the latest Clover on my Mojave SSD, (it had a Clover version YEARS ago when I last installed Mavericks) and I replaced the EFI file with the kexts and config of my USB EFI file because I figured, since the USB installer launched, it was all good to go.
       
      Now nothing boots after BIOS. Not my Mavericks drive, Mojave SSD, nor my USB Mojave Installer. They all hang right where Clover usually launches. I look at my USB lights and nothing flashes...
       
      The only drive I can use is Windows 8.1 (my testing environment) and not from Clover. That's just booting windows up without any HD's plugged in.
       
      Is there a way to rescue my predicament? I don't have another Mac computer and CloverConfig only runs on Mac. Is there a way to fix the USB from Windows? Thanks!
       
      Specs: Gigabyte GA-X58A-UD5 rev. 2.0, FC BIOS, i7-980x, Vega64 Frontier Edition, Nvidia GTX480, 24 GB 1333 RAM, SSD + various hardrives
    • By Drovosek
      As practice shows with the installation of macOS 10.14 Mojave, official cakes from previous, previous versions of the OS sometimes help. So, I pulled out folders /System/Library/Extensions /Library/Extensions from different versions of MacOSX and uploaded on Yandex.Disk and Mediafire. I hope someone will help.   ► 10.4.11
      https://yadi.sk/d/amCPgnkJ3ZMsA7
      http://www.mediafire.com/file/2eap86ny46gjavj/
      ► 10.5.8
      https://yadi.sk/d/XoY70G8K3ZMsBZ
      http://www.mediafire.com/file/a1z7wgizukcrum4/
      ► 10.6.7
      https://yadi.sk/d/8nY0c0ry3ZMsC7
      http://www.mediafire.com/file/rn5n5wt5mw6fzcm/
      ► 10.7.5
      https://yadi.sk/d/8ew7KMbL3ZMsCt
      http://www.mediafire.com/file/9akne1f446j75d5/
      ► 10.8.5
      https://yadi.sk/d/p49F9lZw3ZMsDd
      http://www.mediafire.com/file/xksxbr4gg5ara86/
      ► 10.9.5
      https://yadi.sk/d/LtwMSo3A3ZMsEG
      http://www.mediafire.com/file/6cl3m1dq7068axh/
      ► 10.10.5
      https://yadi.sk/d/ID8QtILY3ZMsEe
      http://www.mediafire.com/file/aefgwlvx696ixmd/
      ► 10.11.6
      https://yadi.sk/d/_KeYANJP3ZMsFN
      http://www.mediafire.com/file/58snknt7x78iubu/
      ► 10.12.6
      https://yadi.sk/d/Nl2Y257v3ZMsMr
      http://www.mediafire.com/file/35924ldz1bb64iu/
      ► 10.13.6
      https://yadi.sk/d/yvoYgqt73ZMsNo
      http://www.mediafire.com/file/ofpa3skypc9e292/
      ► 10.14.1
      https://yadi.sk/d/O3Up1EUAqkMrpQ
      https://www.mediafire.com/file/q6kp3ha5u7rgakx/
    • By shmn
      Hey guys, my hack gets stuck at the attached screen, saying the 'VirtualSMC EFI module is broken' and it's waiting on some boot media. It does boot once in a while, but I cannot reproduce what makes it work, removing all USB devices doesn't help for instance. I know this seems to be a common issue, but the solutions I found didn't help.
      Please find attached the screenshot and my Clover folder. Any support much appreciated! (:

      CLOVER.zip
    • By Allan
      In this forum is possible to use the file manager to upload files, photos/.plists or kexts.
       
      Follow this steps in the video bellow:
       
      Post files.mov
×