Kernel parameters

From ArchWiki
Revision as of 09:56, 20 July 2012 by Det (Talk | contribs)

Jump to: navigation, search

There are three ways to pass options to the kernel and thus control its behavior:

  • When building the kernel.
  • When starting the kernel (usually, when invoked from a boot loader).
  • At runtime (through the files in /proc and /sys).

This page will explain the second method and show a list of most used kernel parameters in Arch Linux. For a complete list of all known options, please see the kernel documentation.


Here we are adding the parameters quiet and splash to GRUB, GRUB Legacy, LILO and Syslinux.


Edit the file /etc/default/grub and append your kernel options to the line GRUB_CMDLINE_LINUX_DEFAULT="":


Re-generate grub.cfg with:

# grub-mkconfig -o /boot/grub/grub.cfg

The resulting line in /boot/grub/grub.cfg will look like:

linux	/vmlinuz-linux root=/dev/sda3 quiet splash

GRUB Legacy

For GRUB Legacy the kernel parameters go into the kernel line of menu.lst.

kernel /vmlinuz-linux root=/dev/sda3 ro quiet splash


        quiet splash


APPEND root=UUID=988d4e11-8237-4af3-5ab6-77627128g9d0 ro vga=current quiet splash

Parameters list

Note: Not all of the listed options are always available. Most are associated with subsystems and work only if the kernel is configured with those subsystems built in. They also depend on the presence of the hardware they are associated with.

All of these parameters are case-sensitive.

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: Add list here. (Discuss in Talk:Kernel parameters#)

See Also