|Red Hat Linux 7.1: The Official Red Hat Linux Customization Guide|
|Prev||Chapter 2. Kickstart Installations||Next|
To begin a kickstart installation, you must boot the system from a Red Hat Linux boot diskette or the CD-ROM and enter a special boot command at the boot prompt. If the kickstart file is located on a boot diskette that was created from the boot.img or bootnet.img image file, the correct boot command would be:
boot: linux ks=floppy
The linux ks=floppy command also works if the ks.cfg file is located on a vfat filesystem on a floppy diskette and you boot from the Red Hat Linux CD-ROM.
An alternate boot command for booting of the Red Hat Linux CD-ROM and having the kickstart file on a vfat filesystem on a floppy diskette is:
boot: linux ks=hd:fd0/ks.cfg
The Red Hat Linux installation program looks for a kickstart file if the ks command line argument is passed to the kernel. The command line argument can take a number of forms:
The installation program will look for the kickstart file on the NFS server <server>, as file <path>. The installation program will use DHCP to configure the Ethernet card. For example, if your NFS server is server.example.com and the kickstart file is on the NFS share /mydir/ks.cfg, the correct boot command would be ks=nfs:server.example.com/mydir/ks.cfg.
The installation program looks for the file ks.cfg on a vfat filesystem on the floppy in drive /dev/fd0.
The installation program will mount the filesystem on <device> (which must be vfat or ext2), and look for the kickstart configuration file as <file> in that filesystem (for example, ks=hd:sda3/mydir/ks.cfg).
The installation program will try to read the file <file> from the filesystem; no mounts will be done. This is normally used if the kickstart file is already on the initrd image.
The installation program will look for the kickstart file on CD-ROM, as file <path>.
If ks is used alone, the installation program will configure the Ethernet card in the system using DHCP. The system will use the "bootServer" from the DHCP response as an NFS server to read the kickstart file from (by default, this is the same as the DHCP server). The name of the kickstart file is one of the following:
If DHCP is specified and the bootfile begins with a /, the bootfile provided by DHCP is looked for on the NFS server.
If DHCP is specified and the bootfile begins with something other then a /, the bootfile provided by DHCP is looked for in the /kickstart directory on the NFS server.
If DHCP did not specify a bootfile, then the installation program tries to read the file /kickstart/184.108.40.206-kickstart, where 220.127.116.11 is the numeric IP address of the machine being installed.