Jump to content

Removing a kext from terminal


  • Please log in to reply
7 replies to this topic

#1
Crabhunter

Crabhunter

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 257 posts
I'm trying to get sound working on a new laptop at the moment and have just installed the VoodooHDA kext.
This is causing a KP and horrendous sound at boot up.
I'm now unable to boot even using -x or booting ML from the installer.
I'm trying to delete it from the command prompt of the installer like this

rm /Volumes/MLion/System/Library/Extensions/VoodooHDA.kext

It's telling me that is a directory
can anyone tell me how to do this.
Mike

#2
Crabhunter

Crabhunter

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 257 posts
ok I left out the

-r

Still wont boot, time for another install.
Mike

#3
HUSABER

HUSABER

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 938 posts
  • Gender:Male
  • Location:Cyprus
  • Interests:HusabergFC-600 FourStroke,KTM500 TwoStroke,TM300 TwoStroke
    Free Time-My Hackintosh&Ap...
Hi,and me used KP from Voodoo
And fix it
First boot after install Voodoo HDA is command-ignore cashes
Later - every boot is OK,withouth KP :wink2:
for remove with terminal try this command:
rm /Volumes/disc0s3-(THIS IS YOUR ML DISK)/System/Library/Extensions/VoodooHDA.kext

#4
TH3L4UGH1NGM4N

TH3L4UGH1NGM4N

    (~_~)

  • Retired
  • 1,159 posts
  • Gender:Male
  • Location:Wonderland
  • Interests:(~_^)
Care to share after removing the voodooHDA why your system still didn't boot?

#5
Crabhunter

Crabhunter

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 257 posts
I havent got a clue, system was booting until I installed VoodooHDA then wouldn't boot with it, deleted it but it still wouldn't boot but at least it didn't make a screaming noise like it did with the kext.
re-installing as we speak but this time to a small partition that I'm going to restore to the the large partition so if (when) I screw it up again it won't take so long to get back again.
Mike

#6
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
You have to boot with -f or UseKernelCache=n after deleting a kernel extension from single user mode, otherwise it will load from the cache anyway on next reboot.

#7
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain
very easy, boot with -s

mount /
cd System/Library/Caches
rm -rf *
diskutil repairPermissions /
sudo kextcache -system-prelinked-kernel
reboot -R lnk

#8
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands

for remove with terminal try this command:
rm /Volumes/disc0s3-(THIS IS YOUR ML DISK)/System/Library/Extensions/VoodooHDA.kext


From terminal you should use:
rm -rf /System/Library/Extensions/VoodooHDA.kext
The command you have provided will give back an error, stating it is a directory, so you need to use the -r or -rf flag, and only work if OS X is installed on disk0s3.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy