IndigoRage
February 2nd, 2012, 04:50 PM
This will be the 3rd and final time I attempt to post this. The previous two attempts acted like they posted, but the threads do not exist... so...
I'm trying to build a working PXE server, and I've gotten it to 99% working but here's the problem I've run into:
DHCP works perfectly, no problems getting addesses.
TFTP on the other hand... it's mostly doing what it's supposed to, until the pxelinux.0 file, then things take a turn for the stupid.
Using version 2.08 of pxelinux.0, I see
pxelinux.cfg/HE-X-OF-IP-AD-DR-ES-S
pxelinux.cfg/HE-X-OF-IP-AD-DR-ES
and so on, down to
pexlinux.cfg/default
then I get "cannot find kernel: linux"
boot:
at the boot: prompt, I can type memdisk initrd=floppy.img keeppxe
and it boots the image file just fine and everything works from there on out.
the default file living in my /tftpboot/pxelinux.cfg/ is:
DEFAULT NBD
LABEL NBD
KERNEL memdisk
APPEND initrd=floppy.img keeppxe
Yes, I need the keeppxe.
So, deciding to experiment a little, I removed the default file from pxelinux.cfg directory, figuring this would give me an error, and... it did not. It went through the whole process of looking in all the various directories that aren't there for a file that isn't there, and gave me the same "cannot load kernel: linux"/boot: prompt.
I figured this must be a bug in 2.08 of pxelinux.0, so I grabbed a fresh copy of pxelinux.0 version 4.05 and replaced the pxelinux.0 in my /tftpboot directory, and restored the default file.
Rebooted the pxe server, tried a new PXE boot and this time I get "Cannot locate configuration file. Press any key to try again or wait for restart."
Except... there is a /tftpboot/pxelinux.cfg/default file, but 4.05 acts like there isn't.
I've been looking for other versions of pxelinux.0 to try, but have had the same issue.
Only 2.08 ACTS like it's looking for this file, even though it doesn't bother reading or using it.
Any other version acts like the /tftpboot/pxelinux.cfg/default does not exist.
So that brings me here, asking for some explanation as to what I need to do to make this thing work without human interaction.
I'm trying to build a working PXE server, and I've gotten it to 99% working but here's the problem I've run into:
DHCP works perfectly, no problems getting addesses.
TFTP on the other hand... it's mostly doing what it's supposed to, until the pxelinux.0 file, then things take a turn for the stupid.
Using version 2.08 of pxelinux.0, I see
pxelinux.cfg/HE-X-OF-IP-AD-DR-ES-S
pxelinux.cfg/HE-X-OF-IP-AD-DR-ES
and so on, down to
pexlinux.cfg/default
then I get "cannot find kernel: linux"
boot:
at the boot: prompt, I can type memdisk initrd=floppy.img keeppxe
and it boots the image file just fine and everything works from there on out.
the default file living in my /tftpboot/pxelinux.cfg/ is:
DEFAULT NBD
LABEL NBD
KERNEL memdisk
APPEND initrd=floppy.img keeppxe
Yes, I need the keeppxe.
So, deciding to experiment a little, I removed the default file from pxelinux.cfg directory, figuring this would give me an error, and... it did not. It went through the whole process of looking in all the various directories that aren't there for a file that isn't there, and gave me the same "cannot load kernel: linux"/boot: prompt.
I figured this must be a bug in 2.08 of pxelinux.0, so I grabbed a fresh copy of pxelinux.0 version 4.05 and replaced the pxelinux.0 in my /tftpboot directory, and restored the default file.
Rebooted the pxe server, tried a new PXE boot and this time I get "Cannot locate configuration file. Press any key to try again or wait for restart."
Except... there is a /tftpboot/pxelinux.cfg/default file, but 4.05 acts like there isn't.
I've been looking for other versions of pxelinux.0 to try, but have had the same issue.
Only 2.08 ACTS like it's looking for this file, even though it doesn't bother reading or using it.
Any other version acts like the /tftpboot/pxelinux.cfg/default does not exist.
So that brings me here, asking for some explanation as to what I need to do to make this thing work without human interaction.