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…
- Primary Author
- @hac_a_mac Published 2009-12-03
- Collection
- OSx86 Core & 10.X
- Archival Footprint
- 5,065 historical reads · 2 curated field notes (from 4 dispatches) · 2009-12-03 – 2009-12-06
- Credited Voices (3)
- @hac_a_mac (2)@xXrkidXx@Imkantus
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?
Author Updates & Technical Revisions
Follow-up dispatches by @hac_a_mac
@xXrkidXxboot 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.
Synthesized Community Field Notes
2 technical responses curated from 4 original dispatches
boot into -s
you could remove the kext, first give yourself permissions /sbin/mount -uw /
then rm -rf /System/Library/Extensions/NameOfKextHere.kext
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.
Sources & Contributor Provenance (3 credited usernames · Thread #4848)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @hac_a_mac | Primary Author | 2 | 2009-12-03 |
| @xXrkidXx | Contributor | 1 | 2009-12-03 |
| @Imkantus | Contributor | 1 | 2009-12-06 |