V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
coolair
V2EX  ›  问与答

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

  •  
  •   coolair · Feb 23, 2022 · 1064 views
    This topic created in 1533 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
        1
    sky96111  
       Feb 23, 2022 via Android
    把 grub 等待时间设 0 ,内核启动参数加一条 quiet
    coolair
        2
    coolair  
    OP
       Feb 23, 2022
    @sky96111 没用。
    lechain
        3
    lechain  
       Feb 24, 2022 via Android
    我猜你想要的东西叫 secureboot ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3032 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 15:08 · PVG 23:08 · LAX 08:08 · JFK 11:08
    ♥ Do have faith in what you're doing.