Attempting to install a new kernel. once it is compiled, I enter:
su -c "make modules_install install"
this error populates :
sed: can't read modules.order: No such file or directory
make[1]: *** [Makefile:1304: _modinst_] Error 2
make: *** [Makefile:327: __build_one_by_one] Error 2
What is the solution?
I've had the same issue compiling Linux Kernel 5.6.14 on Debian 10.4 using config from my current working Linux Kernel 4.19.0 inside VirtualBox.
make oldconfig
make
make modules_install
gave me the same output. After commenting line CONFIG_SYSTEM_TRUSTED_KEYS in config which I copied to Linux Kernel 5.6.14 source directory and repeating from the start make took much longer and then I was able to do make modules_install.
Found here, don't know why it worked, sorry I'm new at this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With