coolair
V2EX  ›  问与答

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

  •  
  •   coolair · Feb 23, 2022 · 1423 views
    This topic created in 1715 days ago, the information mentioned may be changed or developed.

    比如:我现在电脑没有 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 replies  •  2022-02-24 02:20:19 +08:00
    sky96111
    sky96111
    Feb 23, 2022 via Android
    1
    把 grub 等待时间设 0 ,内核启动参数加一条 quiet
    coolair
    coolair
    OP
    Feb 23, 2022
    2
    @sky96111 没用。
    lechain
    lechain
    Feb 24, 2022 via Android
    3
    我猜你想要的东西叫 secureboot ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1330 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 21:03 · PVG 05:03 · LAX 13:03 · JFK 16:03
    ♥ Do have faith in what you're doing.