InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 12-03-2009, 12:50 PM
hac_a_mac hac_a_mac is offline
Cheetah
 
Join Date: Dec 2009
Posts: 4
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?

Intel Core 2 Quad Q9550, Biostar TPower I45, Corsair XMMS2 DDR2 800MHz, Palit GTX 260 216SP Sonic Edition , Seagate 7200.12 500GB SATA2, Samsung DVD-RAM SATA, Samsung Syncmaster SW2233, Logitech MX518
Reply With Quote
  #2  
Old 12-03-2009, 01:45 PM
xXrkidXx xXrkidXx is offline
Leopard
 
Join Date: Apr 2009
Posts: 478
boot into -s

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

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

Computer: Gateway 838GM | 9.5.0 Vodoo Kernel |2.0 RC4 Chameleon Bootloader | Processor:Intel Pentium 4 630 / 3 GHz | RAM: 512MB | OS: Windows 7 32BIT, OSx86 iPC 10.5.6 | Mainboard Chipset: Intel 915G Express | Graphics Card:Integrated Intel GMA 900 | Video Memory: Dynamic Video Memory Technology 3.0 | Audio:ALC 860 |Card Reader:8 in 1 Integrated| Hard Drives:1x 200GB SATA(Win 7), 1x 320GB SATA(OS X) Both Internal
Reply With Quote
  #3  
Old 12-03-2009, 09:42 PM
hac_a_mac hac_a_mac is offline
Cheetah
 
Join Date: Dec 2009
Posts: 4
Quote:
Originally Posted by xXrkidXx View Post
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.

Intel Core 2 Quad Q9550, Biostar TPower I45, Corsair XMMS2 DDR2 800MHz, Palit GTX 260 216SP Sonic Edition , Seagate 7200.12 500GB SATA2, Samsung DVD-RAM SATA, Samsung Syncmaster SW2233, Logitech MX518
Reply With Quote
  #4  
Old 12-07-2009, 12:38 AM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
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.

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote
Reply