You are not logged in.

#1 2025-06-20 21:37:43

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

How do I load a list of modules in a .conf file?

In the "VirtualBox" article of the Arch wiki (section 1.3), I want to load the modules manually from one of those mentioned .conf files. How do I do this? I tried looking at the man page for modprobe, but it doesn't give me enough information about providing a filename or loading multiple modules in a single command.

Last edited by ThoughtBubble (2025-06-21 19:59:22)

Offline

#2 2025-06-21 08:22:09

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: How do I load a list of modules in a .conf file?

*incorrect solution*

Last edited by airbus777neo (2025-06-22 09:01:19)


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

#3 2025-06-21 15:33:52

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

Re: How do I load a list of modules in a .conf file?

For some reason, I wondered if the -C flag was meant to configure modprobe.d. I didn't think it was safe to experiment with the modprobe command so I came here. Thank you.

Offline

#4 2025-06-21 20:03:06

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 55

Re: How do I load a list of modules in a .conf file?

airbus777neo wrote:
modprobe -C /usr/lib/modules-load.d/virtualbox-host-modules-arch.conf 
modprobe -C /usr/lib/modules-load.d/virtualbox-host-modules-lts.conf
modprobe -C /usr/lib/modules-load.d/virtualbox-host-dkms.conf

When I run one of the lines you have mentioned, I get the following error.

modprobe: ERROR: missing parameters. See -h.

I am certain I picked the right command. What should I do?

Last edited by ThoughtBubble (2025-06-21 20:03:27)

Offline

#5 2025-06-22 09:00:35

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: How do I load a list of modules in a .conf file?

My extreme apologies,

I actually MASSIVELY oversighted/misinterpreted the manual. (oops... yikes)

That command it seems would actually change the default configuration file

You'd *have to* individually start each module

Last edited by airbus777neo (2025-06-22 09:06:40)


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

#6 2025-06-22 09:08:31

airbus777neo
Member
Registered: 2025-06-03
Posts: 35

Re: How do I load a list of modules in a .conf file?

ThoughtBubble wrote:

For some reason, I wondered if the -C flag was meant to configure modprobe.d. I didn't think it was safe to experiment with the modprobe command so I came here. Thank you.

Nope you were right in thinking.

I really hope I haven't caused any issues.....


Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius

Offline

Board footer

Powered by FluxBB