Anders Brownworth

Technology and Disruption

Getting the Linux Kernel Config from a Running System

If you need to get the configuration of a running Linux kernel, have a look at:


You might use that like this:

zcat /proc/config.gz > /usr/src/linux/.config

If /proc/config.gz isn't there (ie the kernel was compiled without CONFIG_IKCONFIG_PROC) have a look at:


Comments (0)

Leave a Comment

Location: (city / state / country)
Email: (not published / no spam)

No HTML is allowed. Cookies must be enabled to post. Your comment will appear on this page after a moderator OKs it. Offensive content will not be published.

Click the duck to submit your comment.

To create links in comments:
[link:] becomes
[link:|] becomes
Notice there is no rel="nofollow" in these hrefs. Links in comments will carry page rank from this site so only link to things worthy of people's attention.