Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172328

Re: load module on boot?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: load module on boot?
Date 2016-09-17 03:50 +0200
Message-ID <sicVr-4md-3@gated-at.bofh.it> (permalink)
References <si1Qm-5pB-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/16/2016 09:59 AM, Tony Baldwin wrote:
> Greetings, friends,
> so something went wrong with my old Debian installation and it won't
> boot (dumps to emergency mode every time).
> Consequently, I installed Jessie on the other hdd (that had win7), and
> I'm having a couple of minor troubles:
> First, I need the snd-mixer-oss module to load on boot. I can load it
> manually once I'm already booted with
> sudo modprobe snd-mixer-oss
> , but I want it to be automatic so I don't have to do this.
> googling got me two solutions, neither of which is working.
> The first was to create an /etc/modules-load.d/modules.conf and  add a
> line like this:

I think you might be confusing /etc/modules-load.d/ (names of modules
to load statically) with /etc/modprobe.d/ (and the old /etc/modutils/*)
which has options, and aliases for autoloading modules.

I find /etc/modules is the easiest place to put the names (just the
name, one per line) of any modules you want loading permanently. This
location should work for wheezy too.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

load module on boot? Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-16 16:00 +0200
  Re: load module on boot? Ric Moore <wayward4now@gmail.com> - 2016-09-16 23:10 +0200
  Re: load module on boot? David Wright <deblis@lionunicorn.co.uk> - 2016-09-17 03:50 +0200

csiph-web