Questão de Linux Administration #019e3987
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
silent
verbose=0
nomesg
quiet
Explicação Oficial / Explicações da Comunidade
The kernel parameter quiet instructs the kernel to suppress most boot messages, showing only critical errors and warnings. This is commonly used to reduce boot-time output and provide a cleaner console display.
How it Works
During boot, the Linux kernel prints diagnostic messages to the console. The quiet parameter reduces the verbosity of these messages, hiding informational and debugging output. It does not suppress all messages; kernel panics and other critical errors are still displayed.
Why the Correct Value is Right
The quiet parameter is a standard kernel command-line option recognized by the kernel. When passed via the bootloader (e.g., GRUB), it sets the console log level to a lower value, typically suppressing messages below KERN_WARNING. This is the correct way to reduce boot messages.
Why the Incorrect Values are Wrong
silent: This is not a valid kernel parameter. The kernel does not recognizesilentas a command-line option, so it has no effect.verbose=0: Whileverboseis sometimes used in other contexts, the kernel does not acceptverbose=0as a parameter. The correct way to control verbosity is viaquietorloglevel.nomesg: This is not a valid kernel parameter. It might be confused withnomsgor similar, but the kernel does not supportnomesgfor suppressing boot messages.