[root@localhost entries]# kernel-install add $(uname -r) /boot/vmlinuz-4.18.0-193.el8.x86_64 ##不重啟修復cp: cannot stat '/boot/bls.conf': No such file or directory
sed: can't read /boot/loader/entries/fadbd3697c8d46e58d6fe5d850b2a381-0-rescue.conf: No such file or directory
[root@localhost module]# cd /usr/lib/modules[root@localhost modules]# ls
4.18.0-187.el8.x86_64 4.18.0-193.el8.x86_64
[root@localhost modules]# cd 4.18.0-193.el8.x86_64[root@localhost 4.18.0-193.el8.x86_64]# ls
bls.conf
[root@localhost 4.18.0-193.el8.x86_64]# cp /usr/lib/modules/4.18.0-193.el8.x86_64/bls.conf /boot/[root@localhost 4.18.0-193.el8.x86_64]# cd /boot/[root@localhost boot]# ls
bls.conf
[root@localhost boot]# kernel-install add $(uname -r) /boot/vmlinuz-4.18.0-193.el8.x86_64