Jump to content

Kickstart (Linux)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 24.124.29.135 (talk) at 00:31, 4 April 2011 (Structure: Clarification that "if any required information" is missing, not "all required information" (ambiguous)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Red Hat Kickstart installation method[1] is used primarily (but not exclusively) by the Red Hat Enterprise Linux operating system to automatically perform unattended operating system installation and configuration. Red Hat publishes Cobbler as a tool to automate the Kickstart configuration process.

Usage

Kickstart is normally used at sites with many such Linux systems, to allow easy installation[2] and consistent configuration of new computer systems.

Kickstart configuration files can be built three ways:

  1. By hand.
  2. By using the GUI system-config-kickstart tool.
  3. By using the standard Red Hat installation program Anaconda.

Anaconda will produce an anaconda-ks.cfg configuration file at the end of any manual installation. This file can be used to automatically reproduce the same installation or edited (manually or with system-config-kickstart).

Structure

A Kickstart file contains a series of options, to be passed to the Anaconda installer, that describes how to set up the system. It may also include custom scripts to be run before or after the installation.

A Kickstart installation[3] follows these four steps:

  1. The machine is booted from a CD/DVD, a USB device or over a network using PXE and the network protocols Dynamic Host Configuration Protocol and Trivial File Transfer Protocol.
  2. The Kickstart file is downloaded from the boot media or network (most common).
  3. An Anaconda installation is automatically launched and reads the Kickstart file for the location of the Installation Tree. The tree can reside on the boot media or network.
  4. After accessing the Installation Tree, the installer attempts an unattended installation. If any required information is missing from the Kickstart file, or the file is configured incorrectly, the installer may prompt the user for additional information.

See also

References