LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kickstart unable to find pxelinux.cfg/default (http://www.linuxquestions.org/questions/linux-newbie-8/kickstart-unable-to-find-pxelinux-cfg-default-601315/)

sp149 11-20-2007 11:55 PM

Kickstart unable to find pxelinux.cfg/default
 
RHAS 4 update 4

i've done a fresh installation and trying to configure it as a kickstart server.

i am using the default tftp rpm and have edited disable = yes in /etc/xinetd.d/tftp , server = /usr/sbin/in.tftpd ,server_args = -s /tftpboot -l"
also verified /etc/services

the client boots and gets the ipaddress fron the dhcp server but its shows tftp .... and reached to pxelinux.cfg/default and give the error unable to locate default

can someone guide?

bigrigdriver 11-21-2007 03:57 AM

Here are two links to read about setting up pxelinux:
http://syslinux.zytor.com/pxe.php and http://syslinux.zytor.com/archives/2007-May/008484.htm.
If the pxelinux.cfg/default files doesn't exist, create one. The second link above inculdes an example of what to put in it (scroll down to the bottom of the page to see it).

sp149 11-21-2007 03:34 PM

Now i get
"Trying to load" pxelinux.cfg/default"
Could not find kernel image: linux



start in.tftpd manually
in.tftpd -v -l -s /tftpboot

tested the same
==
[root@test linux-install]# tftp -v
tftp: tftp/udp: unknown service, faking it...
(to) 192.168.3.122
Connected to 192.168.3.122 (192.168.3.122), port 69
tftp> get linux-install/pxeboot.0
getting from 192.168.3.122:linux-install/pxeboot.0 to pxeboot.0 [netascii]
tftp>
===

my file location

/tftpboot/linux-install/pxelinux.0
/tftpboot/linux-install/pxelinux.cfg/default
/tftpboot/linux-install/msgs
-rwxr-xr-x 1 root root 439 Apr 19 2006 boot.msg
-rwxr-xr-x 1 root root 668 Apr 19 2006 expert.msg
-rwxr-xr-x 1 root root 871 Apr 19 2006 general.msg
-rwxr-xr-x 1 root root 860 Apr 19 2006 param.msg
-rwxr-xr-x 1 root root 530 Apr 19 2006 rescue.msg
-rwxr-xr-x 1 root root 545 Apr 19 2006 snake.msg


/tftpboot/linux-install/RH4
-rwxr-xr-x 1 root root 3595163 Nov 20 16:58 initrd.img
-rwxr-xr-x 1 root root 71 Nov 20 16:58 ks.cfg
-rwxr-xr-x 1 root root 1504146 Nov 20 16:58 vmlinuz

default file
=====
default local
timeout 100
prompt 1
display msgs/boot.msg
F1 msgs/boot.msg
F2 msgs/general.msg
F3 msgs/expert.msg
F4 msgs/param.msg
F5 msgs/rescue.msg
F7 msgs/snake.msg

label local
localboot 1

label 0
localboot 1



label 1
kernel RH4/vmlinuz
append initrd=RH4/initrd.img ramdisk_size=7000 ks=/u01/software/ks.cfg
=====

DHCP
===
ddns-update-style interim;
ignore client-updates;
allow bootp;
allow booting;
subnet 192.168.3.0 netmask 255.255.255.0 {
option routers 192.168.3.1;
option subnet-mask 255.255.255.224;
range dynamic-bootp 192.168.3.133 192.168.3.139;
default-lease-time 43200;
next-server 192.168.3.122;
filename "linux-install/pxelinux.0";
}
===

LOGS
/var/log/messages
====
dhcpd: DHCPACK on 192.168.3.139 to 00:19:b9:24:d6:8e via eth0
in.tftpd[5205]: RRQ from 192.168.3.122 filename linux-install/pxeboot.0
====


All times are GMT -5. The time now is 09:32 AM.