Kevin Nguyen
2002-Aug-22 03:25 UTC
[syslinux] How do I install RedHat via pxelinux and Kickstart
Hi, I am trying to install RedHat via pxelinux and kickstart, but it did not load the ks=ks.cfg file. Here is my default file: default linux label linux kernel vmlinuz append ks=ks.cfg initrd=initrd.img IPAPPEND 1 I put ks=ks.cfg file in the \tftpboot. Please help. Thanks kevinn
Patrick J. LoPresti
2002-Aug-22 04:57 UTC
[syslinux] How do I install RedHat via pxelinux and Kickstart
"Kevin Nguyen" <kevinn2cool at attbi.com> writes:> Hi, > I am trying to install RedHat via pxelinux and kickstart, but it did not > load the ks=ks.cfg file. Here is my default file: > > default linux > label linux > kernel vmlinuz > append ks=ks.cfg initrd=initrd.img > IPAPPEND 1 > > I put ks=ks.cfg file in the \tftpboot. > > Please help.The kickstart file is read by Linux, not pxelinux. And it is read using NFS or HTTP, not TFTP. See: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-kickstart2-startinginstall.html So you need to put your kickstart file on an NFS or HTTP server and specify the full path to it in the ks=... option. That should do it. (Side note: The boot-time kernel options are available from /proc/cmdline. So, for example, if you would like to set the hostname in the %pre or %post sections of ks.cfg, you can use sed or perl to slurp out a "hostname=" option provided at boot time. My approach is to use a fixed hostname in the "network ..." directive, then do a search&replace on it in the %post section.) - Pat
Stephen Brown
2002-Aug-22 13:44 UTC
[syslinux] How do I install RedHat via pxelinux and Kickstart
On 22 Aug 2002, Patrick J. LoPresti wrote:> > I am trying to install RedHat via pxelinux and kickstart, but it did not > > load the ks=ks.cfg file. Here is my default file:<<snip>> We use kickstart to build new disk images for computer labs here. We put the ks.cfg file directly on the boot floppy (which uses syslinux to boot) and the machine is booted with the command line: linux ks=floppy The installer has no problem continuing after finding the file on the floppy. Steve Brown sbrown7 at umbc.edu