FAI booting with PXE

Matt Pearce matt at gimmel.com
Fri Dec 22 14:52:20 CET 2000


Thomas,
Thanks for this information.  Following the instructions in
pxelinux.doc.gz and using the TFTP server recommended there
TFTP-HPA I have resolved the problem I had.
In summary:

- create a directory /boot/fai/pxelinux.cfg
- cp pxelinux.bin from syslinux package to /boot/fai/
- create a kernel image: I used make menuconfig, make-kpkg clean,
make-kpkg --revision=pxe.1.0 kernel_image
- edit fai.conf to point to this kernel image
- run fai-setup which will :
1) unpack the kernel image to /usr/lib/fai/nfsroot/
2) create a bootable image installimage in /boot/fai
- the bootable image is no use in this case so I copy vmlinuz-2.2.18 from
/usr/lib/fai/nfsroot/boot/
to /boot/fai/
- create a file called 'default' in pxelinux.cfg
- default looks like:

default linux
label linux
	kernel vmlinuz-2.2.18
	append nfsroot=<NFSERVER>:/usr/lib/fai/nfsroot
nfsaddrs=<CLIENT_IP>:<SERVER_IP>:<GATEWAY>:<NETMASK>:<HOSTNAME>:<ETH>:dhcp

see the BootPrompt howto for specific detail on 'append' .

mine looked like this:
	append nfsroot=10.1.1.3:/usr/lib/fai/nfsroot
nfsaddrs=10.1.1.20:10.1.1.3:10.1.1.3:255.255.255.128:faiclient01::dhcp

Thanks
Matt Pearce

-----Original Message-----
From: owner-linux-fai at rrz.uni-koeln.de
[mailto:owner-linux-fai at rrz.uni-koeln.de]On Behalf Of Thomas Lange
Sent: Wednesday, December 20, 2000 10:53 AM
To: linux-fai at uni-koeln.de
Subject: FAI booting with PXE


Hi all there,

to boot from a network card with network ROM conforming to the Intel
PXE specification (e.g. EtherExpress Pro 100) you can't use the
netboot image. Instead you have to use a pxelinux image, which
requires a special tftp daemon and a DHCP daemon. I think most things
are described in /usr/share/doc/syslinux/pxelinux.doc.gz

A precomiled tftpd daemon (incom tftpd) is also availabe at:

http://cui.unige.ch/info/pc/remote-boot/soft/

Maybe someone can try this and make a summary. Currently I have no
time to test it by myself.

--
 Thomas
----------------------------------------------------------------------
            Thomas Lange
Institut fuer Informatik        mailto:lange at informatik.Uni-Koeln.DE
   Universitaet zu Koeln
            Pohligstr. 1        Telefon: +49 221 470 5303
             50969 Koeln        Fax    : +49 221 470 5317

1024D/AB9B66FD AEA6 A8C1 BD8E 67C4 8EF6  8BCA DC13 E54E AB9B 66FD
----------------------------------------------------------------------



More information about the linux-fai mailing list