ddid
V2EX  ›  问与答

UEFI 模式下 CentOS7 升级内核问题

  •  
  •   ddid · Dec 18, 2018 · 2618 views
    This topic created in 2728 days ago, the information mentioned may be changed or developed.

    为了开启 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 replies    2020-10-09 20:53:21 +08:00
    ddid
        1
    ddid  
    OP
       Dec 18, 2018
    好吧,刚找到问题原因了:
    kernel-ml 没有使用 secureboot 密钥签名,所以,关闭 Secure Boot 即可。
    Daletxt
        2
    Daletxt  
       Oct 9, 2020
    给力,好像跟什么密钥公钥认证之类的有关,等一个不关闭 Secure Boot 的方法
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3016 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:16 · PVG 15:16 · LAX 00:16 · JFK 03:16
    ♥ Do have faith in what you're doing.