I compiled the latest Linux 6.6.9 kernel from source and after installation, when I run cat /boot/config-$(uname -r)
, I get an error:
cat: /boot/config-6.6.9: No such file or directory
. The config file is missing.
For the installation, I just copied the previous kernel config in the new kernel source code directory (using cp -v /boot/config-$(uname -r) .config
) before compiling it, then configured it with make menuconfig
, ran make
, make modules_install
, and make install
.
I have the config files for the previous kernels though.
What could be the reason?
OS: AlmaLinux 9.3 x86-64