You are not logged in.

#1 2012-11-01 08:39:48

na5m
Member
From: Rancho Cordova, CA
Registered: 2008-11-19
Posts: 30

mkinitcpio.conf MODULES array

How can I find out which modules are allowed in this section of mkinitcpio.conf ?
Are these modules the same as the kernel modules available in /usr/lib/modules ??


Let's go check out Hades!

Offline

#2 2012-11-03 08:38:10

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: mkinitcpio.conf MODULES array

Yes, the MODULES= array in mkinitcpio.conf is a list of kernel modules that you want to be avalable to the kernel when only the initramfs is avalable i.e. boot time.

Yes, they are the same modules, and same names you would see when running the command:

lsmod

Like, this is what that array looks like in my mkinitcpio.conf

MODULES="aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot"

OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#3 2012-11-03 13:06:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,109
Website

Re: mkinitcpio.conf MODULES array

And generally, you never need to add anything to this array.

Offline

#4 2017-11-15 21:45:26

probackup-nl
Member
From: Delft
Registered: 2017-11-15
Posts: 9
Website

Re: mkinitcpio.conf MODULES array

Note: mkinitcpio.conf syntax change around march 2017

old syntax:

MODULES="aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot"

new syntax:

MODULES=(aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot)

Offline

#5 2017-11-15 21:54:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,661
Website

Re: mkinitcpio.conf MODULES array

Don't necrobump a five year old thread to add material that is documented on the wiki.
https://wiki.archlinux.org/index.php/Co … bumping.22



Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB