LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   generate-modprobe.conf: command not found (https://www.linuxquestions.org/questions/slackware-14/generate-modprobe-conf-command-not-found-661816/)

__spc__ 08-10-2008 12:55 PM

generate-modprobe.conf: command not found
 
Any pointers with this one?

This is a fresh install of Slackware 12.1. Kernel compiles fine, and I have KDE and networking all as I want it (apart from getting my onboard AC97 sound working).

Anyway, I can't generate modprobe.conf... Help!

T3slider 08-10-2008 01:07 PM

Try reading /etc/modprobe.conf. I'll post it here for your reference:
Quote:

Originally Posted by /etc/modprobe.conf
# /etc/modprobe.conf (old location for Linux 2.6+ config)
#
# The use of this config file is deprecated if you are using a
# 2.6.x or newer kernel. Instead, create files in the
# /etc/modprobe.d/ directory containing modprobe options.
#
# For more information, see "man modprobe.conf".

Use of /etc/modprobe.conf is deprecated in Slackware 12.1. If you want to create options to modules, or blacklist modules, create/edit files in /etc/modprobe.d/

__spc__ 08-10-2008 01:22 PM

Aaaaaaaaaaaaaaaah! Thanks for that.

The first thing I did was install Slack 12.1 with the new kernel and follow my old 2.6.10 compile instructions - that say delete modprobe.conf and generate a new on!

T3slider 08-10-2008 01:27 PM

Just in case you are not up to date on other kernel-compiling procedures, one of the best modern kernel compiling guides is here, written by Alien Bob. A few things have changed since the old days, but nothing too major (or difficult). I would advise reading CHANGES_AND_HINTS.TXT and UPGRADE.TXT if you haven't already just to catch yourself up on new 12.1 stuff. Good luck and enjoy!


All times are GMT -5. The time now is 03:18 AM.