Redhat "Linux" kickstart procedures for NCAR/ACD

"Kickstart" allows us to automate a Redhat Linux install in a way that removes a lot of manual steps in the process. Manual steps that we previously had to do but which are now automated by kickstart include: Now, with kickstart, we've largely automated the above leaving only a few steps after installation. A kickstart can happen within a half hour, giving us an excellent form of disaster recovery. Moreover, a diskette can be inserted, a kickstart started, and the Sysadmin can just walk away, return a half hour later, press ENTER and the machine boots off of that same diskette (the kickstart has overwritten the kickstart boot image with an image that can boot the machine).

The basic kickstart design in ACD involves these steps:

  1. We have pre-prepared kickstart boot diskettes. These diskettes contain the bootnet.img and pcmcia.img from the Redhat distribution. The diskettes are prepared as follows:
  2. Prepare a system for a Kickstart upgrade if needed
  3. Insert diskette
  4. boot computer
  5. The floppy image initiates the kickstart. The actual kickstart script is acquired from the DHCP server (net.acd.ucar.edu). The DHCP daemon informs the kickstart process where to find the kickstart script. The kickstart scripts are named by IP address and obtained from net:/jp/kickstart. For example net:/jp/kickstart/128.117.32.140-kickstart.
  6. Control is passed to the kickstart script (e.g., 128.117.32.140-kickstart) which then installs Redhat Linux on a system
  7. Once Redhat Linux is installed, the script passes control to a postinstall script which is located on acd:/redhat/61/kickstart.postinstall.sh. The postinstall script creates NCAR-specific files such as /etc/group, /etc/automounter, /etc/printcap, etc., and installs additional RPMS, both RPMS local to NCAR like NCAR Graphics, and RPMS that we need such as LPRng and SSH.
  8. The last steps of the kickstart.postinstall.sh script involve creating a bootsect.lnx file in case the machine uses an NT boot loader. That bootsect.lnx file is uuencoded and mailed to the Sysadmins. And also stored in /root so that explore2fs on the NT side can read it. The explore2fs explorer for Windows NT can be obtained at http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm. The kickstart takes over from the floppy disk image and installs Redhat Linux.
  9. The kickstart diskette is still in the drive. When the kickstart script is nearly complete, it overwrites that diskette with a LILO bootable floppy image so that we have something off of which to boot the machine. The Sysadmin only has to press RETURN and the system will reboot off of the new diskette.
  10. After rebooting, there's a few things to be done which include

Machine Requirements

Kickstarts involve standardizing our machine configurations over what we have now. And initially, there's probably going to be work involved to accomplish the following:

Preinstall procedures

To prepare a machine for kickstart, there's a few things we have to do to make it ready.

Some notes and the future...

Some notes that I've found on kickstart with Redhat 6.1...