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

彦祖们,请问下, Linux 启动如何不显示 Grub 和自检的错误?

  •  
  •   coolair · 2022-02-23 09:00:21 +08:00 · 684 次点击
    这是一个创建于 800 天前的主题,其中的信息可能已经有所发展或是发生改变。

    比如:我现在电脑没有 TPM ,启动时就会显示:

    Aug 11 12:49:05 venice kernel: [    1.014042] ima: Error Communicating to TPM chip
    Aug 11 12:49:05 venice kernel: [    1.014588] ima: Error Communicating to TPM chip
    Aug 11 12:49:05 venice kernel: [    1.015134] ima: Error Communicating to TPM chip
    Aug 11 12:49:05 venice kernel: [    1.015679] ima: Error Communicating to TPM chip
    Aug 11 12:49:05 venice kernel: [    1.016225] ima: Error Communicating to TPM chip
    

    有没有办法启动时不显示所有错误提示

    另外,有没有办法彻底隐藏 Grub 显示,连 Welcome to grub 都不显示。

    3 条回复    2022-02-24 02:20:19 +08:00
    sky96111
        1
    sky96111  
       2022-02-23 09:34:27 +08:00 via Android
    把 grub 等待时间设 0 ,内核启动参数加一条 quiet
    coolair
        2
    coolair  
    OP
       2022-02-23 09:44:07 +08:00
    @sky96111 没用。
    lechain
        3
    lechain  
       2022-02-24 02:20:19 +08:00 via Android
    我猜你想要的东西叫 secureboot ?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2270 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:32 · PVG 17:32 · LAX 02:32 · JFK 05:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.