How to perform a KickStart installation of Linux

Home > Search > How-to

To perform a KickStart installation, you will need two files:

  • Linux operating system
  • Kickstart file (ks.cfg)


There are a few different ways to install the Linux operating system.

  • Using a CD/DVD
  • Using a USB device
  • Network install


There are a few different ways to perform a KickStart installation.

  • Using a CD/DVD
  • Using a Storage device (USB, Hard Disk, Floppy)
  • Network


This means there are quite a few different ways do a KickStart install. Let's take an example of doing a KickStart install using a CD/DVD for the operating system and Network for the KickStart. How to install a Linux operating system is outside of the scope of this article, so let's assume you are able to boot into Grub. At the Grub boot loader, you will edit the boot options. This is typically done by pressing esc. You will then type in one of the following commands.

# CD/DVD install
boot: linux ks=cdrom:/ks.cfg

# USB, Hard Disk install
boot: linux ks=hd:sd0:/ks.cfg

# Network HTTP install
boot: linux ks=

# Network NFS share install
boot: linux ks=nfs:


In the prior commands, a file named ks.cfg will be located on a CD/DVD, storage device, or web server. The ks.cfg is the KickStart file that contains the settings for the installation of the operating system. Here is an example ks.cfg file. If the ks.cfg file has options for each of the required items of the install, the GUI options will automatically be selected, and the install will start instantly.

auth --enableshadow --passalgo=sha512
firstboot --enable
ignoredisk --only-use=sda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
network --bootproto=dhcp --device=ens160 --ipv6=auto --activate
network --hostname=myHostname
rootpw --iscrypted fkdf7fo9s9f9vs9s9dfsdf9sv7030941-p90ads0f9afasdnfasfnasdf09
services --enabled="chronyd"
timezone America/Chicago --isUtc
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
clearpart --none --initlabel




Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.