0

I have a working kernel that was installed as a deb, but it does not have a .config instead it has three files that are autoconf, ect, ect. How can I turn this into the current .config to use in a new kernel? Sorry if I don't know all the terminology. Thanks

muru
  • 207,228

1 Answers1

1

You could start with the current kernel you have in your current Ubuntu installation. They are stored in /boot, for example:

ls /boot/config*
/boot/config-4.2.0-18-generic  /boot/config-4.3.0-1-generic
/boot/config-4.2.0-19-generic  /boot/config-4.3.0-2-generic

and copy the relevant one you want to you top level Linux source directory:

cp /boot/config-4.2.0-19-generic .config

you can either hand edit the .config or use the menu config tool, e.g.

make menuconfig