Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#quiet
#kernel-parameters
#boot-messages
#console-loglevel
#grub
Medio

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

A

silent

B

verbose=0

C

nomesg

D

quiet

Correcto

Explicación Oficial / Explicaciones de la Comunidad

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 recognize silent as a command-line option, so it has no effect.
  • verbose=0: While verbose is sometimes used in other contexts, the kernel does not accept verbose=0 as a parameter. The correct way to control verbosity is via quiet or loglevel.
  • nomesg: This is not a valid kernel parameter. It might be confused with nomsg or similar, but the kernel does not support nomesg for suppressing boot messages.