Difference between revisions of "Boot loaders"

From ArchWiki
Jump to: navigation, search
(Add title stub.)
(Kernel parameters: Merged from Plymouth.)
Line 18: Line 18:
  
 
=== Kernel parameters ===
 
=== Kernel parameters ===
 +
The following is an example for [[GRUB]] (see the [[GRUB Legacy]], [[LILO]] or [[Syslinux]] articles accordingly):
 +
 +
==== GRUB(2) ====
 +
Edit the file {{ic|/etc/default/grub}} and append your kernel options to the line {{ic|1=GRUB_CMDLINE_LINUX_DEFAULT=""}}:
 +
{{hc|/etc/default/grub|2=GRUB_CMDLINE_LINUX_DEFAULT="ro quiet splash"}}
 +
 +
Re-generate {{ic|grub.cfg}} with:
 +
{{bc|# grub-mkconfig -o /boot/grub/grub.cfg}}

Revision as of 08:29, 16 July 2012

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

Notes: This page is created to ease the transition from Grub to Grub2. (Discuss in Talk:Boot loaders#)

The boot loader is responsible for loading the kernel and initial ramdisk before initiating the boot process. You can use different kinds of bootloaders in Arch, such as GRUB(2), Syslinux, LILO or GRUB Legacy.

This page will only contain short introduction and most used configurations users will touch. For detailed information, please see corresponding pages of each boot loader.

Introduction

GRUB

GRUB Legacy

Syslinux

LILO

Configuration

Configuration files

Kernel parameters

The following is an example for GRUB (see the GRUB Legacy, LILO or Syslinux articles accordingly):

GRUB(2)

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

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="ro quiet splash"

Re-generate grub.cfg with:

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