Monday, November 15, 2021

[SOLVED] View Linux Kernel Config Options

Issue

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 :/ ).


Solution

Current kernel config:

cat /boot/config-`uname -r`

Other installed kernels:

ls /boot/config-*


Answered By - MGP