FG

How to configure a Linux kernel based on the modules currently in use?

Fresh3 days ago
Mar 15, 202614572 views
Confidence Score0%
0%

Problem

I'm willing to build a minimal kernel with only the needed things for my machine; so I started by compiling the kernel from the ground up, using the default configuration and adding things that I know for sure I have (i.e.: Ethernet card, WiFi card, ...). But there are several other things not so e…

Error Output

make allmodconfig

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to configure a Linux kernel based on the modules currently in use?

Low Risk

If you're using Linux 2.6.32 and above, you may want to check out the "localmodconfig" make target. It does pretty much what you ask—it determines what modules you have running, and generates a .config making sure those modules are built. The "local…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment