Welcome to the Linux Foundation Forum!

[LFD103] Error in installing my new kernel complied by myself.

changhee.oh Posts: 2
edited June 2021 in LFD103 Class Forum

I have followed the instructions of LFD103 and successfully complied the stable version of linux kernel.
But when I execute the following command in command line to install it, errors occurred as bellow.
Please anyone can help me.

och@LXK:~/work/repos/linux-stable$ uname -a
Linux LXK 5.4.0-74-generic #83~18.04.1-Ubuntu SMP Tue May 11 16:01:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

och@LXK:~/work/repos/linux-stable$ git branch

  • linux-5.12.y

och@LXK:~/work/repos/linux-stable$ su -c "make modules_install install"
sed: can't read modules.order: No such file or directory

Makefile:1466: recipe for target 'modinst' failed
make[1]: *** [modinst] Error 2
Makefile:335: recipe for target '__build_one_by_one' failed
make: *** [__build_one_by_one] Error 2



Upcoming Training