FreeKB - Linux Kickstart Perform a kickstart installation
Linux Kickstart - Perform a kickstart installation

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


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. Let's say you are installing CentOS. When first booting up the system, you should be presented with a screen that looks something like this.


In this scenario, you would simply just press esc and you should be presented with the boot menu.


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 f66be in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |