Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View Linux Kernel Config Options [closed]

Is it possible to view which flags were used during kernel compilation? 2.6.42.12-1 fedora 15.

I am sure I've done this before but I can't find anything on google (ie i look for wrong thing :/ ).

like image 669
GoTTimw Avatar asked Jan 17 '13 10:01

GoTTimw


People also ask

How do I open the Linux kernel configuration menu?

To configure the kernel, change to /usr/src/linux and enter the command make config. Choose the features you want supported by the kernel. Usually, There are two or three options: y, n, or m. m means that this device will not be compiled directly into the kernel, but loaded as a module.

How do I find the Linux kernel configuration?

The Linux kernel configuration is usually found in the kernel source in the file: /usr/src/linux/. config . It is not recommended to edit this file directly but to use one of these configuration options: make config - starts a character based questions and answer session.

Where is kernel config stored?

You can look at /proc/config. gz if you're in luck, it will be there. If you have the kernel source, it's worth having a look at /arch/arm/configs - most Android kernel's I've seen will have the default config for your CPU and you can start from there.


1 Answers

Current kernel config:

cat /boot/config-`uname -r`

Other installed kernels:

ls /boot/config-*
like image 115
MGP Avatar answered Oct 22 '22 15:10

MGP