PDA

View Full Version : Stopping a kext from loading in startup


hac_a_mac
12-03-2009, 12:50 PM
I wonder if there are any ways to stop a particular kext from loading at the startup using some switches. I mean just like we can flush the kext cache using -f switch, is there any way to stop loading a particular kext using similar methods?

xXrkidXx
12-03-2009, 01:45 PM
boot into -s

you could remove the kext, first give yourself permissions /sbin/mount -uw /

then rm -rf /System/Library/Extensions/NameOfKextHere.kext

hac_a_mac
12-03-2009, 09:42 PM
boot into -s

you could remove the kext, first give yourself permissions /sbin/mount -uw /

then rm -rf /System/Library/Extensions/NameOfKextHere.kext
Actually, I am looking for a way to stop loading of a kext from the installer disk itself which is read-only. So removing the kext won't work.

Imkantus
12-07-2009, 12:38 AM
What kind of disk?

Most Distro have just Extensions.mkext on it. You can copy, unpack, repack and readd it to an ISO image - for example using pcwiz's Mkext Utility.