KickStart 19
KickStart 19
Chapter 19
KICKSTART INSTALLATION
Kickstat installation is useful to install the RHEL systems automatically with less user
intervention.
Kickstart installation is carried by creating single kickstart file to install Red Hat
Enterprise Linux on multiple machines over the network.
Kickstart installation can be performed using a local CD-ROM, a local hard drive or via
NFS, FTP or HTTP.
STEPS
1. Create kickstart file
Kickstart configuration files can be built by hand or using the GUI system-config-
kickstart tool. Additionally the standard RHEL installation program Anaconda will
produce a KICKSTART configuration file at the end of any manual installation
process. This file can be then be taken and either used to automatically reproduce
the same installation or edited (either manually edited or with system-config-
kickstart).
# rpm –q system-config-kickstart
# yum istall system-config-kickstart
# system-config-kickstart
a. Default Launguage
b. Keyboard
c. Time Zone
d. Root passwd
e. Target Architecture
f. Reboot system after installation
g. Installation Method (New or Upgrage)
h. Installation source (CD-ROM, NFS,FTP,HTTP or Hard Drive)
i. Boot loader option (Install new boot loader, GRuB option, Install option)
j. Partition information (Do not clear MBR, Remove all existing partition, Do not
initialize disk label)
k. Add option (mount point, fs type, fixed size etc)
l. Network configuration (Add Network Device)
m. Package selection
n. Save it (/var/ftp/pub)
2. Client side
a. Boot the system using RHEL 6 DVD and press ‘ESC’ at splash screen (Insall or
upgrade)
b. After pressing ‘ESC’, you get boot: option
c. Type the following
# linux ip=192.168.225.100 netmask=255.255.255.0
ks=ftp://192.168.200.255/pub/kiskstartfile
NETWOK INSTALLTION
A. FTP
B. NFS
C. HTTP
FTP
Chapter 19 Page 1
Redhat - Kickstart
Copy the entire RHEL6/7 DVD on document root of ftp /var/ftp/pub
Start installation using FTP directory
As we are trying to install RHEL6 from network still we require a boot media so that at
least we can get the boot screen where we can type our required commands
To get the boot screen we can have a media like CD/DVD/USB drive with boot.iso image
copied in it.
Choose option
Install or upgrade an existing system
Install system with basic video driver
Rescue installed system
Boot from local drive
Memory test
To make DVD/Pen Drive bootable using boot.iso image
Download the boot.iso from redhat website
Copy the boot.iso in DVD or Pendrive using below command
# cdrecord /root/boot.iso :for DVD
# dd if=/root/boot.iso of=/dev/sdb1 (this is the USD address) : for USD
After making the boot media, make the system boot with it, prexx ESC to type the
following command to take installation media from network
# boot: linux askmethod
1. Language
2. Keyboard
3. Media where iso image is located (URL)
4. Network settings (Manual or DHCP)
5. Set the IP and umask value
6. ftp://192/168.10.95 screen will appear
NFS
Make an entry in /etc/exports
Let us say my RHEL6/7 DVD dump is in /var/ftp/pub/rhel6
Export the FS by exportfs –rv
Restart the NFS service
Client side
Media where iso image is located (URL) in above 3rd step where need to give NFS
directory. Remaining all steps are same.
Chapter 19 Page 2