Jump to content

Force a kext to load at startup?


greeze
 Share

7 posts in this topic

Recommended Posts

I've discovered that if I remove the files:

/System/Library/Extensions.kextcache

/System/Library/Extensions.mkext

 

Tiger will load certain kexts at boot just fine (as well as recreate those two files). Unfortunately, when I reboot a second time, the kexts that loaded just fine before will no longer load.

 

(Specifically, I'm having troubles getting AppleIntelPIIXATA to load at boot. No prob if the kextcache and mkext files are NOT there, but it won't load if they are. ;) )

 

How can I force a certain kext to load at every startup?

Link to comment
Share on other sites

I've discovered that if I remove the files:

/System/Library/Extensions.kextcache

/System/Library/Extensions.mkext

 

Tiger will load certain kexts at boot just fine (as well as recreate those two files). Unfortunately, when I reboot a second time, the kexts that loaded just fine before will no longer load.

 

(Specifically, I'm having troubles getting AppleIntelPIIXATA to load at boot. No prob if the kextcache and mkext files are NOT there, but it won't load if they are. :( )

 

How can I force a certain kext to load at every startup?

 

 

You can edit the /etc/rc file to load a kext on boot.

 

If you open it in a text editor (eg. nano) scroll down until you find the kextload that loads the AppleTPM. It is a good ways down the file. You can disable loading the TPM while you're in there by simply commenting that line out with a "#". Then you can follow the format from that command as an example to load your own kext's.

 

Is this clear? If not I can post more.

Link to comment
Share on other sites

You can edit the /etc/rc file to load a kext on boot.

 

If you open it in a text editor (eg. nano) scroll down until you find the kextload that loads the AppleTPM.  It is a good ways down the file.  You can disable loading the TPM while you're in there by simply commenting that line out with a "#".  Then you can follow the format from that command as an example to load your own kext's.

 

Is this clear?  If not I can post more.

Thank you, that was very clear. Unfortunately, the text "kextload" doesn't appear anywhere in my /etc/rc file. Could you give me an example of its usage, and where I should put it? Thanks very much.

Link to comment
Share on other sites

  • 1 year later...

/etc is a directory on your OSX partition

rc is a file in that directory responsible for initiating processes during boot.

 

In Finder -> G0 menu -> Go to Folder... -> type: /etc

then look for rc

 

To edit the file directly, go to Terminal and type: sudo nano /etc/rc

Link to comment
Share on other sites

  • 5 years later...
 Share

×
×
  • Create New...