PXE Boot issues - TFTP?
I've read a lot about this, and tried all the troubleshooting steps I've found.
I'm getting the PXE-T01 and FILE NOT FOUND when I attempt to boot the test machine via PXE. Here's what I have: Machine A: 10.1.1.1 (eth1; eth0 is plugged into "the internet") running DHCP / tftp also NFS for kickstart and apache for serving a repo for installs. Machine B: (test machine, on same subnet). this machine is currently installed and up at 10.1.1.151 just to test things. My dhcpd.conf file (or the relevant bits of it): Code:
ddns-update-style none; Code:
service tftp Code:
[root@install1 tftpboot]# ll -h (not that this is that important; I don't think it gets this far) Code:
default linux Ok, so now that we've established that I understand that tftp chroots into /tftpboot, and I have my files there, and i'm not referencing it in any sort of funny way, we can test tftp with a tftp client on the test machine. This is from the test machine: Code:
[root@localhost tftptest]# ll Also, when I boot the client machine, this shows up in /var/log/messages on the server: Code:
Jul 8 13:57:19 localhost dhcpd: DHCPDISCOVER from 00:13:72:51:0e:6a via eth1 And yet, I'm getting the PXE FILE NOT FOUND errors when I attempt to boot the client. So, if the client is hitting the DHCP server during the PXE process, and spawning a TFTP server, and I know the tftp server works and is transferring files... what gives? ~X |
update:
Now i'm trying rebooting the client machine, and I'm not seeing the tftp thing in /var/log/messages. That may have been incidental. But, whenever I reboot, the DHCP stuff does show up in /var/log/messages from the attempted PXE boot. It just never boots. All I'm trying to do is get it to the point where, just as if I'd booted off a net-boot CD, it's asking me "hit enter, or type linux text for text install". Once I get it to that point, I'm hoping I can pass it options related to kickstart via the "append" and make it kickstart its self after pxe booting. I've got the kickstart stuff working (boot off a CD with linux ip=dhcp ksdevice=eth0 ks=nfs:server:/path and bam, kickstart works). Just trying to tie PXE booting into that system. ~X |
You need to have the actual PXE boot file in /tftpboot/pxelinux.cfg/. It should be a file like "01-00-12-34-56-7d-8d", which is 01-MAC Address. This file contains the basic info for the system to boot with. The file name is the mac address of the machine you're trying to PXE boot. It knows to use this file because it's looking for it's own mac address. The file should look somthing like this...
Code:
default ks *Edit* You'll need to change the appropriate variables in the pxe config file. The one shown here is for kickstarting a machine, but should give you some idea of what happens. |
Quote:
I will try to do this, but I'm not even sure that PXE boot is getting this far in the process, or that it's required. I'll post results in a bit. ~X |
Ah yes, somehow I missed the bit about your default pxe config file. It seems to me like that should work. I've just never tried it that way.
|
Quote:
Code:
Jul 8 16:39:40 localhost dhcpd: DHCPDISCOVER from 00:13:72:51:0e:6a via eth1 but, alas, in the end it booted to the disk os, and the test machine is back up at its old IP. It may have wanted me to do something on the console, though, so I'll check on that tomorrow. ~X |
from the dhcpd.conf file:
filename "pxeboot.0"; oh you've got to be effing kidding me. I'm trying it now. ~X |
Quote:
Fixed. *facepalm* |
Ahh, I completely overlooked that! Glad to hear it's working though.
|
All times are GMT -5. The time now is 02:57 PM. |