PXE boot disks
MW Mike Weiner (5028)
MWeiner at ag.com
Thu Jun 16 16:23:28 UTC 2005
http://www.stanford.edu/~alfw/PXE-Kickstart/PXE-Kickstart.html
Well thank you all for your kind responses. This is what I currently
have setup:
* all on the same box
1) fc3 server
2) repository with the FC2 install
3) tftp server running
4) dhcpd server running
5) nfs server running dishing out the /repo above and /tftp (just in
case)
Now, I have the dhcpd.conf setup as follows:
allow booting;
allow bootp;
option ip-forwarding false;
option mask-supplier false;
default-lease-time 259200;
max-lease-time 259200;
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.232.255;
option routers 10.10.232.1;
option domain-name-servers 10.10.1.13, 10.10.1.24, 10.10.1.55;
option domain-name "americangreetings.com";
subnet 10.10.232.0 netmask 255.255.255.0 {
range 10.10.232.70 10.10.232.80;
}
group {
# option dhcp-class-identifier "PXEClient"; <-- doesn't seem to work
option vendor-encapsulated-options
09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:
70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff;
next-server 10.10.232.54;
filename "/tftp/pxelinux.0";
}
My current /tftp (/tftpboot) tree looks like the following:
-rw-r--r-- 1 root root 2443013 Jun 16 09:56 initrd-fc2.img
drwxr-xr-x 2 root root 4096 Jun 16 10:28 ks
-rw-r--r-- 1 root root 12952 Jun 16 10:08 pxelinux.0
drwxr-xr-x 2 root root 4096 Jun 16 10:33 pxelinux.cfg
-rw-r--r-- 1 root root 1209805 Jun 16 09:56 vmlinuz-fc2
And /tftp/pxelinux.cfg/ as follows:
-rw-r--r-- 1 root root 40 Jun 16 10:15 default
-rw-r--r-- 1 root root 205 Jun 16 10:33 default.netboot-fc2
Now, when I reboot a server on the same network, and it goes through its
PXE boot, it receives an IP from the DHCP server, as evidence by the
following in the messages log:
Jun 16 12:18:46 yum1 dhcpd: DHCPDISCOVER from 00:03:47:11:3c:6b via eth0
Jun 16 12:18:46 yum1 dhcpd: DHCPOFFER on 10.10.232.80 to
00:03:47:11:3c:6b via eth0
Yet, the PXE boot sequence shortly quits and complains with the
following error:
PXE-E53: No boot filename received
And then
PXE-M0F: Exiting Intel PXE ROM
Well, I am just trying to get this box to first pxe boot, grab an ip and
use the pxe initrd and vmlinuz and boot. Being a newbie, can anyone
point to anything that may be inconsistent? Or have any tips'n'tricks
they care to share? I have googled and read many resources (a lot of
GOOD resources out there), but am stuck with the above behavior.
Thanks in advance
Michael Weiner
More information about the users
mailing list