FG

Obtain kernel config from currently running Linux system?

Fresh3 days ago
Mar 15, 2026267027 views
Confidence Score1%
1%

Problem

I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Obtain kernel config from currently running Linux system?

Low Risk

Depending on your system, you'll find it in any one of these: and possibly more places.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment