LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-20-2007, 11:55 PM   #1
sp149
Member
 
Registered: May 2007
Posts: 73

Rep: Reputation: 17
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?
 
Old 11-21-2007, 03:57 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,764

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
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).
 
Old 11-21-2007, 03:34 PM   #3
sp149
Member
 
Registered: May 2007
Posts: 73

Original Poster
Rep: Reputation: 17
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
====
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: cannot find ks.cfg on boot floppy. kickstart on NFS. hocheetiong Linux - Newbie 1 09-02-2007 06:01 AM
Update my kickstart file .cfg davidfxg Red Hat 1 05-27-2007 06:38 PM
Give me hand for kickstart parameter of pxelinux configureation ssscan Linux - Networking 2 05-19-2006 10:51 AM
ks.cfg (kickstart) - partitioning fails SirWING Linux - General 0 12-29-2005 08:49 AM
Quake 3 cant find default.cfg LavaDevil94 Linux - Software 1 08-20-2003 06:20 PM


All times are GMT -5. The time now is 12:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration