LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Autoloading modules (http://www.linuxquestions.org/questions/linux-newbie-8/autoloading-modules-16917/)

Rotten Deadite 03-24-2002 03:29 PM

Autoloading modules
 
Well, I had this problem with my laptop's CDROM that I can fix by loading cdrom.o with insmod before I try to mount it.

My question is, is there a file I can put this insmod command into to load the cdrom.o module every time I boot up? It'd save me some typing, and the autmounting in GNOME would work again.

Do I have to recompile my kernel with this module? How would I do that?

trickykid 03-24-2002 06:50 PM

if its listed in your modules.conf file then you can uncomment it out and it should load at startup..

what distro are you using might help us out as well ?

-trickykid

Rotten Deadite 03-25-2002 06:10 PM

Red Hat 7.2.

*Super Newbie Mode ON*
By the way, how would the distribution make much of a difference here? Is there no "autoexec.bat" that I can put the insmod command in?
*Super Newbie Mode OFF*

trickykid 03-25-2002 06:19 PM

some distributions have different means of loading modules.. but most will load just fine if you uncomment the modules.conf file in the /etc direcotry. there is no such thing as a autoexec.bat file in linux either..

-trickykid


All times are GMT -5. The time now is 10:44 AM.