Jump to content

How to add kexts to install USB drive ?

Kexts Install USB

  • Please log in to reply
12 replies to this topic

#1
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff
I have a question for some time, and i never found a answer, here is the problem, i need 4 kexts: my audio, lan and sata (icons fix) to work, and fakesmc.

Usualy i put this kexts in the /Extra/Extensions of the install USB (with the kernel patcher plugin for chameleon) but MacMan's "RealtekRTL81xx.kext" does not load when i boot the OS after install (for the first time) unless i put it in S/L/E from another install partition.

So my problem is how to insert this kexts directly into the install so that they are copied to S/L/E directly with the install, so when the system boots for the first time, it has the kexts.

And i've tried to copy the 4 kexts in S/L/E on the installer USB , but the installer does not copy them to the disk.

This is not a major inconvenience, but i would like to have LAN at the first boot so i can set up iCloud and all the stores there from the start.


Hope you guys understand my problem, not a native english speaker here so it may sound awkward.

#2
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania
http://www.insanelym...427#entry481427

#3
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff

http://www.insanelym...427#entry481427


That post is old, i need info on how to add kexts in Lion and Mountain Lion.

#4
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff
I just can't believe none knows how to do a slipstream of the kexts in the installer of Mountain Lion or Lion. The info the liked page is outdated, from my knowdlege in the newest versions of OS X the "mkext" idea is outdated.

#5
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff
up!?

#6
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
You can read the according man pages at "man kextutil" and find out how this is done.

I believe you would need to work with "-e, "-k", and "-r". Never tried it myself though, yet.

EDIT:
Alternatively you can place the required kext and all its dependencies into /E/E/.

#7
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,652 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco
hello

what be installed in is the packages.. the system in the installer is only to boot the instalattion..

good hack

#8
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff
E/E does not work corectly with all kexts ... The realtek lan kext will not load if placed in E/E (i know i need the kernelpatcher module with chameleon

#9
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
Have you tried putting the dependencies of your lan kext into /E/E ?

#10
Tikifg

Tikifg

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
I always use kextwizard to do this. It also repairs permissions and rebuilds cache.

Tikifg

#11
rvxtm

rvxtm

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Timisoara, Romania
  • Interests:Tech, Science, Biology, OSX86 stuff
Any idea what dependencies does macman's lnx2mac realtek kext uses ?

#12
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 540 posts
  • Gender:Male
You can look it up at Contents/Info.plist -> OSBundleLibraries. "IONetworkingFamily" should be the main one.

#13
everdone

everdone

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
I would suggest installing OSX on two different partitions of your HD. One would be a test partition and the other the main working partition. Install both from the USB installer. Boot into the Test install from the USB stick and add the necessary kexts into E/E and S/L/E. Obviously, you will not have internet, audio, etc on the Test partition at this boot. You can also install your desired kexts into the appropriate places on the Main partition.

Now when you boot into the Main partition you will have ethernet, audio, etc. when you do the setup. Once done you could delete the Test partition if desired.





Also tagged with one or more of these keywords: Kexts, Install, USB


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy