Click to See Complete Forum and Search --> : Modules that load at boot


soleblazer
12-03-2001, 01:22 PM
On Redhat is the /etc/rc.sysinit file the file that is used to load all the modules? I just want to know where I should put a module definition or where insmod places the line to get the module to load each time.

Tks

sixfeetsix
12-03-2001, 02:15 PM
I know that one of these two files:

modules.conf (probably the one)
conf.modules (probably not)

is the file that contains the name of the modules to load (or of the device...like eth0) with the aliases.

I think it is placed in /etc/ , but I'm not 100% sure

[ 03 December 2001: Message edited by: sixfeetsix ]

slapNUT
12-03-2001, 07:36 PM
Also I believe /etc/modules is becoming a more popular place to load modules from.
You can also load them via mkinitrd, this will load them along with the kernel before the rest of the boot process. This is commonly used if you load your root filesystem as a module.

Hena
12-04-2001, 02:59 AM
Also, if you want to load modules during boot, you can use /etc/rc.modules file. Make it a shell script and add the commands in there.

Strogian
12-04-2001, 04:45 PM
I'm not sure about redhat, but /etc/rc.d/rc.modules is what I use in Slackware to have modules auto-loaded at bootup.

slapNUT
12-05-2001, 02:40 PM
Actually the /etc/rc.d/rc.modules is not where you would put the modules. You put them in /etc/modules and they are loaded by the script /etc/rc.d/rc.modules.

Strogian
12-05-2001, 06:26 PM
In Slackware? I have no /etc/modules, and I believe that there were modules loaded in the default modules.conf, before I deleted the piece of junk and started fresh. :)