how to run "generate-modprobe.conf" given a 2.6 kernel?

ne... akabi at speakeasy.net
Fri Oct 31 18:11:52 UTC 2003


On Oct 31, 2003 at 10:13, Robert P. J. Day in a soothing rage wrote:

>
>  i asked about this once upon a time, but don't recall seeing
>a solution, and there's nothing in bugzilla about it.
>
>  given FC3 and a 2.6 kernel, how does one run 
>/sbin/generate-modprobe.conf to generate the new modules
>config file?
>
>  if you try it, the script fails saying there's no "modprobe.old"
>command, which is true.  this may have worked when folks manually
>upgraded their "modutils" RPM and had both the new and old versions
>of those commands around, but it clearly fails now under FC3.
This is from the module-init-tools-0.9.15-pre1 README:

READ INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!

1a) If you want to install in /sbin:
        ./configure --prefix=/
        make moveold (if installing for the first time).

  "make moveold" renames the old insmod, modprobe, rmmod and lsmod to
  insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
  manpages.
...

3) If running for the first time, you might want to convert your old
   modules.conf to modprobe.conf:

        ./generate-modprobe.conf /etc/modprobe.conf

You can get the tarbol from:

http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

HTH
N.Emile...
-- 
Registered Linux User # 125653 (http://counter.li.org)
Switch to: http://www.speakeasy.net/refer/190653
What no spouse of a writer can ever understand is that a writer is working
when he's staring out the window.
 13:05:23  up 68 days,  1:39,  5 users,  load average: 0.00, 0.00, 0.00





More information about the fedora-test-list mailing list