Welcome to the Linux Foundation Forum!

Error in installing my new kernel

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.

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
master

och@LXK:~/work/repos/linux-stable$ su -c "make modules_install install"
Password:
sed: can't read modules.order: No such file or directory
Makefile:1466: recipe for target 'modinst' failed
make[1]: *** [modinst] Error 2

Comments

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training