Author Topic: creating /Extra/Extensions.mkext  (Read 14491 times)

0 Members and 1 Guest are viewing this topic.

sleeepy

  • Entrant
  • Posts: 6
creating /Extra/Extensions.mkext
« on: April 27, 2009, 03:08:00 PM »

/System/Library/Extensions.mkext is created automatically if I delete the old one and boot with -f.

However, this doesn't seem to recreate /Extra/Extensions.mkext

Or am I missing something obvious (like some documentation somewhere?)

Also, is there something that I can do in /Extra in order to prevent the loading of a kext from /System/Lib../E... without supplying a replacement.

    Thanks in anticipation

sleeepy

  • Entrant
  • Posts: 6
Re: creating /Extra/Extensions.mkext
« Reply #1 on: April 27, 2009, 03:54:33 PM »
Its OK.  Someone just told me to google kextcache.  I can work it out form there.

savestheday

  • Observer
  • Posts: 11
Re: creating /Extra/Extensions.mkext
« Reply #2 on: April 28, 2009, 03:14:55 PM »
Check out Mkext Tool, does the job perfect...

bigpoppa

  • Entrant
  • Posts: 4
Re: creating /Extra/Extensions.mkext
« Reply #3 on: April 29, 2009, 03:02:22 AM »
And if you build the correct Extensions.mkext for your system, does that mean you have to delete the Extensions folder inside of Extra?

BladeRunner

  • Member
  • Posts: 88
Re: creating /Extra/Extensions.mkext
« Reply #4 on: April 29, 2009, 06:08:53 AM »
And if you build the correct Extensions.mkext for your system, does that mean you have to delete the Extensions folder inside of Extra?

I resolved that problem by using a different directory name to hold the kext and running a modified copy of Munkys update script.

Code: [Select]
root ~ # ls -al /Extra
total 2416
drwxr-xr-x  13 root  admin     442 Apr 28 23:58 .
drwxrwxr-x@ 37 root  wheel    1326 Apr 11 17:01 ..
-rw-r--r--@  1 root  admin    6148 Apr  3 23:02 .DS_Store
-rw-r--r--@  1 root  admin   19179 Apr  3 23:02 DSDT.aml
-rw-r--r--   1 root  admin  451698 Apr 24 18:08 Extensions.mkext
-rw-r--r--   1 root  wheel  451698 Apr 10 23:36 Extensions.mkext.previous
drw-r--r--   8 root  wheel     272 Apr 24 18:05 KextStore
drwxr-xr-x  10 root  admin     340 Apr 21 17:55 Themes
-rw-r--r--   1 root  admin    2016 Apr 21 17:56 com.apple.Boot.plist
-rw-r--r--   1 root  admin    1773 Apr  5 18:30 smbios.plist
-rw-r--r--   1 root  admin    1889 Apr 24 18:06 update.log
-rwxr-xr-x   1 root  admin     483 Apr 16 17:37 update.sh

The kext reside in /Extra/KextStore and are never loaded from anything but the Extensions.mkext cache file.
Base system: HP Pavilion P6340f Desktop  Intel� Core2Quad�  CPU: Speed: 2.66 GHz   Package: Socket 775 LGA:  L2 Cache 2 x 2048 KB  RAM : 8.0 GB:  DDR3

Disks : 2 eSATA @ 2 TB (hardware raid 1), NAS 4 x 2 TB raid 5 Display : 21" Samsung on EVGA GeForce 9400 GT - PCIe - 1900x1080  Keyboard/mouse :  USB connected  OS Version : 10.6.0 from retail DVD + SW update to 10.6.5 - Kernel:  Vanilla mach_kernel

rocksteady

  • Global Moderator
  • Posts: 233
  • Root Down
Re: creating /Extra/Extensions.mkext
« Reply #5 on: May 10, 2009, 12:02:02 AM »
I resolved that problem by using a different directory name to hold the kext and running a modified copy of Munkys update script...
The kext reside in /Extra/KextStore and are never loaded from anything but the Extensions.mkext cache file.
slick solution :)
Stop bitching, start coding or documenting or both..

P5Q-EM : Q6600 : 8GB RAM : 8800GT : SATA Drives

Terc

  • Forum Moderator
  • Posts: 129
Re: creating /Extra/Extensions.mkext
« Reply #6 on: May 10, 2009, 11:32:48 PM »
I've been using a similar solution, but using mkexttool instead.  I'm going to have to switch to your script though, it's faster.

rocksteady

  • Global Moderator
  • Posts: 233
  • Root Down
Re: creating /Extra/Extensions.mkext
« Reply #7 on: May 12, 2009, 03:21:13 AM »
...or just create a few aliases in your .bashrc, chain 'em and do it without a script :)
Stop bitching, start coding or documenting or both..

P5Q-EM : Q6600 : 8GB RAM : 8800GT : SATA Drives