• 本帖最后由 finne2018 于 2019-2-20 16:32 编辑 *

CentOS一键安装脚本(自动安装内核并启用):
wget "https://github.com/cx9208/bbrplus/raw/master/ok_bbrplus_centos.sh" && chmod +x ok_bbrplus_centos.sh && ./ok_bbrplus_centos.sh
安装后,执行uname -r,显示4.14.90则切换内核成功
执行lsmod | grep bbr,显示有bbrplus则开启成功

这个我失败了,我现在执行卸载命令时候感觉有好几个内核,但是就是显示只有bbr,plus和锐速都显示不出来,这是为什么呢

显示如下

Installed size: 199 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-4.14.90-1.x86_64 1/1
Verifying : kernel-4.14.90-1.x86_64 1/1

Installed:
kernel.x86_64 0:4.14.90-1

Complete!
awk: fatal: cannot open file `/etc/grub2.cfg' for reading (No such file or directory)
内核安装失败

[root@root1 ~]# uname -r
4.15.18-9-pve

开始卸载 kernel-4.14.91_bbrplus-1.x86_64 内核...
卸载 kernel-4.14.91_bbrplus-1.x86_64 内核卸载完成,继续...
--nodeps -e 内核卸载完毕,继续...
[错误] /boot/grub2/grub.cfg 找不到,请检查.