You are not logged in.

#1 2010-04-10 23:28:24

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

dumping kernel config - find what has been built in a kernel

Is there a way of dumping the kernel configuration on linux?

Obviously lsmod will give me what modules are loaded, but how would I get things that have been built into the kernel? Is this possible?

On arch this seems very easy '/proc/config.gz' has it all but on ubuntu it's in /boot. However my config in /boot is wrong all i have is a kernel. Is there a way of retrieving the config?

Last edited by brendan (2010-04-10 23:37:44)

Offline

#2 2010-04-10 23:51:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: dumping kernel config - find what has been built in a kernel

So.. you want to know how to get the config for the Ubuntu kernel? Why don't you ask in the Ubuntu forum?

Offline

#3 2010-04-11 05:53:57

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: dumping kernel config - find what has been built in a kernel

zcat /proc/config.gz > kernel.config

Also, there is zgrep and zless for gzipped files.

Offline

#4 2010-04-11 12:39:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: dumping kernel config - find what has been built in a kernel

tomk wrote:

So.. you want to know how to get the config for the Ubuntu kernel? Why don't you ask in the Ubuntu forum?

This. I'm not sure there IS a way, but they'd know better.

Last edited by ngoonee (2010-04-11 12:40:22)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB