0

I have kernel configuration file available via /proc:

IKCONFIG_PROC=y

and I can show the config of the running kernel as:

zcat /proc/config.gz

However, how do I cat the config of a vmlinuz image that is not running? I have vmlinuz image stored on the disk. How do I extract the config?

1 Answer 1

1

In theory the extract-ikconfig script from the kernel source can extract the embedded configuration from a kernel built with CONFIG_IKCONFIG=y. I don't have access to a kernel built this way so I can't test it.

See also this answer on Stack Overflow for what to do if your kernel was built with CONFIG_IKCONFIG=m.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.