Welcome to the Linux Foundation Forum!

Error in installing my new kernel

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

I have followed the instructions of LFD103 and successfully compiled the latest stable linux kernel.
But during installing newly compiled kernel, errors occurred as bellow.
Please anyone can help me.

[email protected]:~/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

[email protected]:~/work/repos/linux-stable$ git branch
`* linux-5.12.y

[email protected]:~/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


  • Did you compile compile fail by any chance? Do you have a modules.order present? Sounds like kernel built might have failed.


Upcoming Training