Kernel parameters

From ArchWiki
Revision as of 05:24, 20 July 2012 by Fengchao (talk | contribs) (Moved from Boot Loader.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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