Sample Header Ad - 728x90

How to set new features to N during kernel compilation from an old .config file?

0 votes
0 answers
22 views
I am compiling a custom linux kernel for a compute cluster. The cluster is currently running on kernel version 4.4.47 since last 5 years. I need to upgrade the kernel to a more recent version. I've chosen the version 6.6.76 since it has long term support. Now here is what I've tried: I have the old configuration file. So I just copy it and put it inside the kernel source tree's root as .config and then run make olddefconfig. This takes all the existing configuration and sets the default values for the newer options. However, this adds up several unwanted features that I find hard to disable manually. Is there a better way to do this such that the configuration takes all the old settings and sets newer settings to n?
Asked by Sâu (101 rep)
Feb 10, 2025, 12:37 PM