kernel command line

The list of options the bootloader passes to the kernel at start-up, such as root=/dev/sda2 quiet, which shapes early boot.

In more detail

Parameters can choose the root filesystem, change logging with loglevel or quiet, set the console or boot into a recovery target. One wrong parameter can make a healthy kernel choose the wrong root or hide useful messages. cat /proc/cmdline shows what the running kernel received.

Example

root=/dev/root loglevel=4 console=tty quiet=yes is a quiet boot with an explicit root and console.

Related terms

Taught in

References

Certification courses