V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ddid
V2EX  ›  问与答

UEFI 模式下 CentOS7 升级内核问题

  •  
  •   ddid · 2018-12-18 11:25:37 +08:00 · 1899 次点击
    这是一个创建于 1958 天前的主题,其中的信息可能已经有所发展或是发生改变。

    为了开启 BBR,升级至 4.19 内核,操作如下:

    rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
    yum --enablerepo=elrepo-kernel install kernel-ml

    然后重启,选择 4.19 内核启动,报错如下:

    error: /vmlinuz-4.19.10-1.e17.elrepo.x86_64 has invalid signature.
    error: you need to load the kernel first.

    然后把 BIOS 切换为传统模式,重新安装系统,重新上述操作,一切顺利成功!
    问题是我想用 UEFI 模式,请问怎么解决?

    2 条回复    2020-10-09 20:53:21 +08:00
    ddid
        1
    ddid  
    OP
       2018-12-18 11:31:12 +08:00
    好吧,刚找到问题原因了:
    kernel-ml 没有使用 secureboot 密钥签名,所以,关闭 Secure Boot 即可。
    Daletxt
        2
    Daletxt  
       2020-10-09 20:53:21 +08:00
    给力,好像跟什么密钥公钥认证之类的有关,等一个不关闭 Secure Boot 的方法
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3499 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:44 · PVG 18:44 · LAX 03:44 · JFK 06:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.