Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

After doing some reading about device drivers and .ko files and drivers built into the kernel at compile time I was wondering what happens at boot time. Does the boot up process identify hardware and load the appropriate module (if there is one) for the hardware during the boot process (assuming that the driver is not already compiled into the kernel)? In the case of .ko files, when they are installed, how does the kernel know to load the module next time the system boots up? Is there some kind of lookup table during the boot process that searches for the .ko file of a new device when installed?

share|improve this question

closed as too localized by fossfreedom Jul 17 '12 at 20:48

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Probability of getting good answers @ unix.stackexchange.com –  Web-E Jul 17 '12 at 16:23
ok ill try there. –  mathematician1975 Jul 17 '12 at 16:27
dmesg recognizes hardware. modprobe plugs in drivers. that's about all i know, so hopefully it helps –  Sepero Jul 17 '12 at 16:29