Jump to content











Photo
- - - - -

pxelinux.cfg/default Unable to load configuration file


  • Please log in to reply
7 replies to this topic

#1 boothack

boothack
  • Members
  • 1 posts
  •  
    United States

Posted 01 February 2008 - 10:51 AM

Can someone help with this please?

My setup is: Vista Host running VMWare workstation 6.0.2. I have two VM's connected via a host only network which is working perfectly well. One VM is a windows XP machine running tftpd32. The other VM is empty and has been configured to boot from the network.

I have tftpd32 running on the XP system. When I boot up the second VM I can see it obtaining an IP address from the XP VM so all is good there. Then I see my tftp server transfer the pxelinux.0 file which is read by the PXEbooting VM and so all is good there also.

BUT when my PXEBooting VM comes back for the file default it stops with the error "Unable to locate configuration file". Below is the log from my tftpd32 server:

Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0C:29:66:C2:A2 [01/02 10:29:39.889]
DHCP: proposed address 10.0.0.245 [01/02 10:29:41.436]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0C:29:66:C2:A2 [01/02 10:29:46.811]
Previously allocated address 10.0.0.245 acked [01/02 10:29:48.311]
Connection received from 10.0.0.245 on port 2070 [01/02 10:29:48.342]
Read request for file <Pxelinux.0>. Mode octet [01/02 10:29:48.358]
OACK: <blksize=1456,> [01/02 10:29:48.358]
Using local port 1090 [01/02 10:29:48.373]
Connection received from 10.0.0.245 on port 57089 [01/02 10:29:48.467]
Read request for file <pxelinux.cfg/564dd72d-70b6-64bd-b75d-15ee9e66c2a2>. Mode octet [01/02 10:29:48.483]
File <pxelinux.cfg/564dd72d-70b6-64bd-b75d-15ee9e66c2a2> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.498]
Connection received from 10.0.0.245 on port 57090 [01/02 10:29:48.514]
<Pxelinux.0>: sent 11 blks, 14716 bytes in 0 s. 0 blk resent [01/02 10:29:48.545]
Read request for file <pxelinux.cfg/01-00-0c-29-66-c2-a2>. Mode octet [01/02 10:29:48.577]
File <pxelinux.cfg/01-00-0c-29-66-c2-a2> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.577]
Connection received from 10.0.0.245 on port 57091 [01/02 10:29:48.592]
Read request for file <pxelinux.cfg/0A0000F5>. Mode octet [01/02 10:29:48.608]
File <pxelinux.cfg/0A0000F5> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.608]
Connection received from 10.0.0.245 on port 57092 [01/02 10:29:48.608]
Read request for file <pxelinux.cfg/0A0000F>. Mode octet [01/02 10:29:48.608]
File <pxelinux.cfg/0A0000F> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.623]
Connection received from 10.0.0.245 on port 57093 [01/02 10:29:48.623]
Read request for file <pxelinux.cfg/0A0000>. Mode octet [01/02 10:29:48.639]
File <pxelinux.cfg/0A0000> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.639]
Connection received from 10.0.0.245 on port 57094 [01/02 10:29:48.655]
Read request for file <pxelinux.cfg/0A000>. Mode octet [01/02 10:29:48.655]
File <pxelinux.cfg/0A000> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.670]
Connection received from 10.0.0.245 on port 57095 [01/02 10:29:48.670]
Read request for file <pxelinux.cfg/0A00>. Mode octet [01/02 10:29:48.670]
File <pxelinux.cfg/0A00> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.670]
Connection received from 10.0.0.245 on port 57096 [01/02 10:29:48.686]
Read request for file <pxelinux.cfg/0A0>. Mode octet [01/02 10:29:48.686]
File <pxelinux.cfg/0A0> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.686]
Connection received from 10.0.0.245 on port 57097 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/0A>. Mode octet [01/02 10:29:48.702]
File <pxelinux.cfg/0A> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.702]
Connection received from 10.0.0.245 on port 57098 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/0>. Mode octet [01/02 10:29:48.702]
File <pxelinux.cfg/0> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.702]
Connection received from 10.0.0.245 on port 57099 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/default>. Mode octet [01/02 10:29:48.717]
File <pxelinux.cfg/default> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.717]

Am I right in thinking that its not the content of the default file that is causing the problem as the error says that it cannot be found?

I have read and checked and read again and double checked and I have the right files in the right places including default within the pxelinux.cfg directory so why can't this be located.

Can someone help me please?

#2 Dippies

Dippies
  • Members
  • 1 posts
  •  
    South Africa

Posted 21 February 2008 - 10:15 PM

Hey i got the same error :

Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:0E:7B:74:B4:0C [22/02 00:15:09.703]
DHCP: proposed address 10.0.0.4 [22/02 00:15:09.703]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:0E:7B:74:B4:0C [22/02 00:15:11.781]
Previously allocated address acked [22/02 00:15:11.796]
Connection received from 10.0.0.4 on port 2070 [22/02 00:15:11.796]
Read request for file <pxelinux.0>. Mode octet [22/02 00:15:11.796]
OACK: <blksize=1456,> [22/02 00:15:11.796]
<pxelinux.0>: sent 10 blks, 13408 bytes in 0 s. 0 blk resent [22/02 00:15:11.812]
Connection received from 10.0.0.4 on port 57089 [22/02 00:15:11.921]
Read request for file <pxelinux.cfg/01-00-0e-7b-74-b4-0c>. Mode octet [22/02 00:15:11.921]
File <pxelinux.cfg/01-00-0e-7b-74-b4-0c> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.921]
Connection received from 10.0.0.4 on port 57090 [22/02 00:15:11.921]
Read request for file <pxelinux.cfg/0A000004>. Mode octet [22/02 00:15:11.921]
File <pxelinux.cfg/0A000004> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.921]
Connection received from 10.0.0.4 on port 57091 [22/02 00:15:11.921]
Read request for file <pxelinux.cfg/0A00000>. Mode octet [22/02 00:15:11.937]
File <pxelinux.cfg/0A00000> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.937]
Connection received from 10.0.0.4 on port 57092 [22/02 00:15:11.937]
Read request for file <pxelinux.cfg/0A0000>. Mode octet [22/02 00:15:11.937]
File <pxelinux.cfg/0A0000> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.937]
Connection received from 10.0.0.4 on port 57093 [22/02 00:15:11.937]
Read request for file <pxelinux.cfg/0A000>. Mode octet [22/02 00:15:11.953]
File <pxelinux.cfg/0A000> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.953]
Connection received from 10.0.0.4 on port 57094 [22/02 00:15:11.953]
Read request for file <pxelinux.cfg/0A00>. Mode octet [22/02 00:15:11.953]
File <pxelinux.cfg/0A00> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.953]
Connection received from 10.0.0.4 on port 57095 [22/02 00:15:11.953]
Read request for file <pxelinux.cfg/0A0>. Mode octet [22/02 00:15:11.968]
File <pxelinux.cfg/0A0> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.968]
Connection received from 10.0.0.4 on port 57096 [22/02 00:15:11.968]
Read request for file <pxelinux.cfg/0A>. Mode octet [22/02 00:15:11.968]
File <pxelinux.cfg/0A> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.968]
Connection received from 10.0.0.4 on port 57097 [22/02 00:15:11.984]
Read request for file <pxelinux.cfg/0>. Mode octet [22/02 00:15:11.984]
File <pxelinux.cfg/0> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:11.984]
Connection received from 10.0.0.4 on port 57098 [22/02 00:15:11.984]
Read request for file <pxelinux.cfg/default>. Mode octet [22/02 00:15:11.984]
File <pxelinux.cfg/default> : error 2 in system call CreateFile The system cannot find the file specified. [22/02 00:15:12.000]


please help Me

#3 Rick_P

Rick_P
  • Members
  • 1 posts
  •  
    Australia

Posted 16 March 2008 - 05:39 AM

Windows by default does not show the file extensions for "known" file types. This means that files you save with notepad or wordpad really do have the ".txt" extension even though you can not see them in the filename.

When saving files that require no extension (such as the "default" file required by Tftpd32), if you enclose the file name in quotes when saving ( as in "defaut") the file will be saved without the hidden ".txt" extension and should be seen by the Tftpd32 program.

You might also want to check the extension on the kernel file you downloaded as it sometimes will be saved by Windows with an extension.

For more information on how to change the behavior of Windows in this regard check out this link:

http://www.thesitewi...n-notepad.shtml

#4 mike77kl

mike77kl
  • Members
  • 4 posts
  •  
    Malaysia

Posted 17 April 2008 - 09:22 AM

Windows by default does not show the file extensions for "known" file types. This means that files you save with notepad or wordpad really do have the ".txt" extension even though you can not see them in the filename.

When saving files that require no extension (such as the "default" file required by Tftpd32), if you enclose the file name in quotes when saving ( as in "defaut") the file will be saved without the hidden ".txt" extension and should be seen by the Tftpd32 program.

You might also want to check the extension on the kernel file you downloaded as it sometimes will be saved by Windows with an extension.

For more information on how to change the behavior of Windows in this regard check out this link:

http://www.thesitewi...n-notepad.shtml



Mine is giving no error, but...

Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:18:37:05:71:99 [17/04 17:15:12.715]
DHCP: proposed address 192.168.1.10 [17/04 17:15:14.477]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:18:37:05:71:99 [17/04 17:15:14.748]
Previously allocated address 192.168.1.10 acked [17/04 17:15:16.250]
Connection received from 127.0.0.1 on port 18002 [17/04 17:15:16.290]
Read request for file <pxelinux.0>. Mode octet [17/04 17:15:16.310]
Using local port 3883 [17/04 17:15:16.310]
<pxelinux.0>: sent 27 blks, 13408 bytes in 0 s. 0 blk resent [17/04 17:15:16.430]
Connection received from 127.0.0.1 on port 18002 [17/04 17:15:16.530]
Read request for file <pxelinux.cfg/01-00-18-37-05-71-99>. Mode octet [17/04 17:15:16.550]
Using local port 3887 [17/04 17:15:16.550]
<pxelinux.cfg/01-00-18-37-05-71-99>: sent 1 blk, 360 bytes in 0 s. 0 blk resent [17/04 17:15:16.600]

but on the diskless client screen, it says

TFTP prefix:
Trying to load: pxelinux.cfg/01-00-18-37-05-71-99
TFTP server does not support the tsize option

Boot failed: press a key to retry, or wait for reset......



Pls help me, what should i do, i am trying to solve this problem for days.

#5 rainyday

rainyday
  • Members
  • 3 posts
  •  
    Ecuador

Posted 16 May 2008 - 09:34 PM

Have you set the base directory and the current directory correctly? Is the file size correct? Can you post the tftpd-settings and the default file?

#6 AtomicKitten

AtomicKitten

    Member

  • Members
  • 60 posts

Posted 18 May 2008 - 11:31 AM

pxelinux.0 and pxelinux.cfg (a folder) should be in the same directory

#7 MjWasHere

MjWasHere
  • Members
  • 1 posts
  •  
    India

Posted 05 July 2008 - 03:56 PM

yea .... me too fiddled for long just to find out tht default file shud be in pxelinux.cfg folder and rest of the files in which pxelinux.cfg folder resides

so for me it is ....
C:\OUTPUT\pxelinux.cfg\default
C:\OUTPUT\pxelinux.0
C:\OUTPUT\kernel

... and so on .......

#8 dns2k

dns2k
  • Members
  • 2 posts
  •  
    Indonesia

Posted 09 February 2015 - 11:51 PM

to: boothack

cc: Dippies

 

 

=================================================================================================

Read request for file <pxelinux.cfg/01-00-0c-29-66-c2-a2>. Mode octet [01/02 10:29:48.577]
File <pxelinux.cfg/01-00-0c-29-66-c2-a2> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.577]
Connection received from 10.0.0.245 on port 57091 [01/02 10:29:48.592]
Read request for file <pxelinux.cfg/0A0000F5>. Mode octet [01/02 10:29:48.608]
File <pxelinux.cfg/0A0000F5> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.608]
Connection received from 10.0.0.245 on port 57092 [01/02 10:29:48.608]
Read request for file <pxelinux.cfg/0A0000F>. Mode octet [01/02 10:29:48.608]
File <pxelinux.cfg/0A0000F> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.623]
Connection received from 10.0.0.245 on port 57093 [01/02 10:29:48.623]
Read request for file <pxelinux.cfg/0A0000>. Mode octet [01/02 10:29:48.639]
File <pxelinux.cfg/0A0000> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.639]
Connection received from 10.0.0.245 on port 57094 [01/02 10:29:48.655]
Read request for file <pxelinux.cfg/0A000>. Mode octet [01/02 10:29:48.655]
File <pxelinux.cfg/0A000> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.670]
Connection received from 10.0.0.245 on port 57095 [01/02 10:29:48.670]
Read request for file <pxelinux.cfg/0A00>. Mode octet [01/02 10:29:48.670]
File <pxelinux.cfg/0A00> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.670]
Connection received from 10.0.0.245 on port 57096 [01/02 10:29:48.686]
Read request for file <pxelinux.cfg/0A0>. Mode octet [01/02 10:29:48.686]
File <pxelinux.cfg/0A0> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.686]
Connection received from 10.0.0.245 on port 57097 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/0A>. Mode octet [01/02 10:29:48.702]
File <pxelinux.cfg/0A> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.702]
Connection received from 10.0.0.245 on port 57098 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/0>. Mode octet [01/02 10:29:48.702]
File <pxelinux.cfg/0> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.702]
Connection received from 10.0.0.245 on port 57099 [01/02 10:29:48.702]
Read request for file <pxelinux.cfg/default>. Mode octet [01/02 10:29:48.717]
File <pxelinux.cfg/default> : error 2 in system call CreateFile The system cannot find the file specified. [01/02 10:29:48.717]

=================================================================================================

 

this error means the pxe boot loader program ("pxelinux.0" or "gpxelinux.0") could not find

the extentionless configuration file inside the "pxelinux.cfg" folder named:

 

"01-00-0c-29-66-c2-a2"

 

or

 

"0A0000F5"

 

or

"0A0000F"

 

or

 

"0A0000"

 

or

 

"0A000"

 

or

 

"0A00"

 

or

 

"0A0"

 

or

 

"0A"

 

or

 

"0"

 

or

 

"default"

 

 

note:

to fix this make create an empty filename with out extention inside the pxelinux.cfg folder the name it "01-00-0c-29-66-c2-a2" or "0A0000F5" or "0A0000F" or "0A0000" or "0A000" or "0A00" or "0A0" or "0A" or "0" or "default"

 

example:

1. assume you put the pxelinux.cfg folder inside the pxe folder on drive c:

2. you should now have a file named (pick one):

 

"c:\pxe\pxelinux.cfg\01-00-0c-29-66-c2-a2" or

"c:\pxe\pxelinux.cfg\0A0000F5" or

"c:\pxe\pxelinux.cfg\0A0000F" or

"c:\pxe\pxelinux.cfg\0A0000" or

"c:\pxe\pxelinux.cfg\0A000" or

"c:\pxe\pxelinux.cfg\0A00" or

"c:\pxe\pxelinux.cfg\0A0" or

"c:\pxe\pxelinux.cfg\0A" or

"c:\pxe\pxelinux.cfg\0" or

"c:\pxe\pxelinux.cfg\default"

 

3. now edit the "01-00-0c-29-66-c2-a2" file and put the pxe boot parameter inside it,

   

example pxe boot parameter:

 

========01-00-0c-29-66-c2-a2========

DEFAULT vesamenu.c32
PROMPT 0
MENU INCLUDE pxelinux.cfg/pxe.conf
NOESCAPE 1

TIMEOUT 300
ONTIMEOUT DOS622
MENU AUTOBOOT Normal booting will start in # seconds

LABEL FDD
MENU FDD
kernel root/memdisk
APPEND floppy initrd=root/fdd/fdDNS2K.gz

LABEL HDD
MENU HDD
kernel root/memdisk
APPEND harddisk initrd=root/hdd/hdDNS2K.gz

LABEL ISO
MENU ISO
kernel root/memdisk
APPEND iso initrd=root/iso/fdDNS2K.iso

========01-00-0c-29-66-c2-a2========

 

 

 

bonus configuration file:

============pxe.conf============

MENU TITLE Choose from the below options:
menu color border 30;44 #ffffffff #00000000 std

NOESCAPE 1
ALLOWOPTIONS 0
PROMPT 0
menu width 80
menu rows 14
MENU TABMSGROW 24
MENU MARGIN 14
MENU VSHIFT 6
============pxe.conf============

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users