client not finding installkernel img

Geert Stappers Geert.Stappers at xs4all.nl
Tue Jun 11 00:19:07 CEST 2002


At 21:46 +0200 6/10/02, pll at lanminds.com wrote:
>Hi,
>
>I'm a little confused.  The dhcp server config has the statements:
>
>	filename "/boot/fai/pxelinux.0";
                                    ^^
dot zero

>	next-server nomen;
>
>which I understand to mean that the install client will attempt to
>dhcp boot, then be redirected to 'nomen' to tftp the file pxelinux.0
>Is this correct?
>
>When the client is PXE booting, it contacts the dhcp server,
>evidently gets an IP address, and then begins trying to find the
>config file /boot/fai/pxelinux.cfg/<Hex IP addr>, which it fails to
                               ^^^^
dot cfg

It beats me where the step from "dot zero" to "dot cfg" is made.


>find.  My tcpdump shows this:
>
>15:05:29 client > nomen.tftp:  47 RRQ "/boot/fai/pxelinux.cfg/C0A80A0"
>15:06:11 client > nomen.tftp:  46 RRQ "/boot/fai/pxelinux.cfg/C0A80A"
>15:07:12 client > nomen.tftp:  45 RRQ "/boot/fai/pxelinux.cfg/C0A80"
>15:07:34 client > nomen.tftp:  44 RRQ "/boot/fai/pxelinux.cfg/C0A8"
>15:07:34 client > nomen.tftp:  44 RRQ "/boot/fai/pxelinux.cfg/C0A8"
>15:08:36 client > nomen.tftp:  43 RRQ "/boot/fai/pxelinux.cfg/C0A"
>15:08:57 client > nomen.tftp:  42 RRQ "/boot/fai/pxelinux.cfg/C0"
>15:09:59 client > nomen.tftp:  41 RRQ "/boot/fai/pxelinux.cfg/C"
>15:10:20 client > nomen.tftp:  47 RRQ "/boot/fai/pxelinux.cfg/default"
>
>(Each line is actually repeated 6 or so times before moving on to the
>next one.)
>
>Here are the contents of /boot/fai/pxelinux.cfg/:
>
>	nomen:/boot/fai/pxelinux.cfg# ls -l
>	total 1
>	lrwxrwxrwx    1 root     root    7 Jun 10 13:40 C0A80A0A -> default
>	-rwxrwxrwx    1 root     root  567 Jun 10 14:12 default
>
>And here's /boot/fai/:
>
>nomen:/boot/fai/pxelinux.cfg# ls -l /boot/fai
>total 1349
>  lrwxrwxrwx 1 root root       17 Jun  4 13:49 ant01 -> installimage_3com
>  lrwxrwxrwx 1 root root       17 Jun  4 13:49 atom_install ->
>installimage_3com
>  lrwxrwxrwx 1 root root       17 Jun  4 13:49 bigfoot -> installimage_3com
>  -rw-r--r-- 1 root root  1362350 Jun 10 13:53 installkernel
>  -rw-r--r-- 1 root root     9952 Jun 10 13:18 pxelinux.0
>  drwxrwxrwx 2 root root     1024 Jun 10 15:16 pxelinux.cfg
>
>Eventually I end up at a "boot:" prompt but I don't know what do once
>I get there.  I don't quite follow the docs on how this is all supposed
>to work (seems like there isn't much wrt PXE booting in the docs).
>
>I'm guessing the sequence should be something like this:
>
>	- PXE boot to obtain IP from DHCP server
>	- DHCP provides basic network info and redirects to tftp server
>	- Grap /boot/fai/pxelinux.0 from tftp server, which attempts
>	  to load /boot/fai/pxelinux.cfg/<Hex IP Addr>
>	- config file points to some other bootable kernel image like
>	  installkernel
>	- installkernel continues the FAI installation process.
>
>Is this sequence correct?  If so, what the heck am I doing wrong?
>
>I apologize if I'm being unusually dense, I've tried to RTFM, but I
>can't seem to find what I need in them :(
>

Think different
( Yes, I'm an Apple guy )

Get a thrid computer ( or install "client" manually )
check with that computer ("the3rd) the tftp server on "nomen"

Here a working tftp session

the3rd$
the3rd$ tftp dm   # replace with "nomen"
tftp> get vmlinuz-2.2.19
Received 1012018 bytes in 0.9 seconds
tftp> get /boot/vmlinuz-2.2.19
Received 1012018 bytes in 1.0 seconds
tftp> get /boot/testdir/dummyfile
Received 9249 bytes in 0.1 seconds
tftp> quit
the3rd$



Send your test results to the list.



Geert




More information about the linux-fai mailing list