loading modules

Kevin Alm kevinalm at shenessex.heartland.net
Sun Feb 29 09:01:28 PST 2004


On Sunday 29 February 2004 09:26 am, marc brady wrote:
> yes your correct but I forgot considering I always use initrd image.You
> could create a file in /etc directory called modules and add the
> ide-scsi to it and then add this script to the correct run level directory
>
> #!/bin/sh
> if [ -f /etc/modules ]; then
>     while read MODULES; do
>        /sbin/modprobe $MODULES
>     done < /etc/modules
> fi
>
> make it executable and name it like
>
> S30modules
>
> then on boot any module listed in the /etc/modules file will get loaded
> automatically
>
> that will help
> marc
>
Yes you can. It's just simpler to:
ide-scsi support Y
ide-cd M or N
pass the kernel arg hd?=scsi
Forget about modules.conf, init scripts, and initrds. Most users just want 
scsi emulation for all cdrom/cdrw's and that's the easiest way without an 
initrd.

Best Regards,
Kevin




More information about the blfs-support mailing list