Kernel parameters

From ArchWiki
Revision as of 05:52, 20 July 2012 by Fengchao (Talk | contribs) (Move in link form GRUB Legacy.)

Jump to: navigation, search

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

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Kernel parameters#)

This page will explain what is kernel parameters, how to set them and show a list of most used kernel parameters in Arch Linux.

Set kernel parameters

Kernel command line parameters are often supplied by the bootloader. 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

Kernel parameters should be added to the kernel options of bootloader configuration file(/boot/grub/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

See Also