InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Stopping a kext from loading in startup (http://infinitemac.com/showthread.php?t=4848)

hac_a_mac 12-03-2009 12:50 PM

Stopping a kext from loading in startup
 
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

Quote:

Originally Posted by xXrkidXx (Post 40463)
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.