LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2007, 05:01 PM   #1
fastTalker
LQ Newbie
 
Registered: Feb 2006
Location: USA
Distribution: Debian Etch, Debian Lenny, Ubuntu Feisty
Posts: 28

Rep: Reputation: 15
pxelinux configuration file not loading


i am trying to boot via pxe. the pxelinux configuration file is not getting loaded.

it tries to load all the different variation of configuration file names but never loads one.

I've copied the default config file to 01-00-13-20-b0-d0-c5. Neither the default nor the mac address-specific configuration files get loaded. And I am left with a "boot:" prompt.

Code:
TFTP prefix: /lts/2.6.17.8-ltsp-1/
Trying to load pxelinux.cfg/01-00-13-20-b0-d0-c5
Trying to load pxelinux.cfg/C0A801C7
Trying to load pxelinux.cfg/C0A801C
...
Trying to load pxelinux.cfg/C
Trying to load pxelinux.cfg/default
Could not find kernel image: linux
boot:
my dhcp server is at 192.168.1.100
my network is behind a router at 192.168.1.1

my dhcpd.conf file:
Code:
#dhcpd.conf
authoritative;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.20 192.168.1.250;
  option domain-name-servers 192.168.1.1;
  option broadcast-address 192.168.1.255;
  option routers 192.168.1.1;
  option subnet-mask 255.255.255.0;
  if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
    filename "/lts/2.6.17.8-ltsp-1/pxelinux.0";
  }
  else{
    filename "/lts/2.6.17.8-ltsp-1/nbi.img";
  }
  option root-path "/opt/ltsp-4.2/i386";
}

Last edited by fastTalker; 05-20-2007 at 11:23 PM.
 
Old 05-21-2007, 10:39 AM   #2
stormpunk
LQ Newbie
 
Registered: Mar 2004
Distribution: windows 7
Posts: 21

Rep: Reputation: 2
Actually, your pxelinux file is getting loaded. It can't find the kernel specified.
You should check pxelinux.cfg/default
It is specifying to load the label "linux" but the label isn't defined in the rest of the file.

Code:
default linux
prompt 1
timeout 100

label linux
kernel /trinity/kernel.trk
append initrd=/trinity/initrd.trk ramdisk_size=32768 root=/dev/ram0 vga=788 ip=::::::dhcp splash=verbose trknfs=192.168.0.1:/trk
This is kinda what my pxe file looks like for some kind of reference. In it, the default label to load is "linux" if nothing else gets specified in a few seconds. Either change your default line or a label and it should work.
 
Old 05-21-2007, 08:56 PM   #3
fastTalker
LQ Newbie
 
Registered: Feb 2006
Location: USA
Distribution: Debian Etch, Debian Lenny, Ubuntu Feisty
Posts: 28

Original Poster
Rep: Reputation: 15
here is my pxelinux.cfg/default:
Code:
prompt 0
label linux
  kernel bzImage-2.6.17.8-ltsp-1
  append rw root=/dev/ram0 initrd=initramfs.gz
the kernel is in the same directory as the pxelinux.cfg directory.
 
Old 05-23-2007, 07:08 PM   #4
fastTalker
LQ Newbie
 
Registered: Feb 2006
Location: USA
Distribution: Debian Etch, Debian Lenny, Ubuntu Feisty
Posts: 28

Original Poster
Rep: Reputation: 15
issue solved

After stormpunk pointed out that i should capture the packets on the interface. I noticed that the destination address for the pxelinux.cfg/default was 0.0.0.0. after some googling i found this:

http://wiki.koeln.ccc.de/index.php/U...ur_dhcp-server

the next-server parameter tells the client where to get the configuration file specified in the filename statement.

So i added the following line to dhcpd.conf:
Code:
next-server 192.168.1.100
thanks stormpunk!
 
  


Reply

Tags
dhcpd, ltsp, pxe, pxeboot, pxelinux


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
Fvwm still loading old configuration Tylerious Debian 1 01-25-2006 09:25 AM
pxelinux network install problem m.vanes Linux - General 3 11-16-2005 12:46 PM
ipappend for PXELinux--get the ip from pxe AshesOfTime Linux - Networking 0 11-24-2004 07:16 AM
PXELinux bigdogdan2 Linux - Newbie 1 07-30-2004 02:00 PM
Samba Configuration not loading.. sramelyk Linux - Software 2 02-22-2004 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration