Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › Stopping a kext from loading in startup
5,065 reads · 2009-12-03 – 2009-12-06
Note 10.X Core

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

Author Update #1 @hac_a_mac 2009-12-03 ↳ Re: @xXrkidXx
@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

Field Note #1 @xXrkidXx 2009-12-03

boot into -s

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

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

Field Note #2 @Imkantus 2009-12-06

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)
UsernameDossier ContributionDispatchesActive Window
@hac_a_macPrimary Author22009-12-03
@xXrkidXxContributor12009-12-03
@ImkantusContributor12009-12-06