Booting from PXE

Sam Vilain sam at vilain.net
Tue Dec 9 22:28:51 CET 2003


On Wed, 10 Dec 2003 07:18, Juan Jose Pablos wrote;

  > Dec  9 19:15:59 yarel dhcpd: DHCPREQUEST for 255.255.255.255
  > (166.0.0.0) from 00:30:1b:22:f1:85 via eth0: ignored (not
  > authoritative).

You could always use the IPAPPEND=1 option to the pxelinux.cfg/foo
file.  This gets the PXE bootstrap to forward the information the PXE
DHCP request got on to the kernel.

It's not quite as tidy as keeping it all in the DHCP server, as you
don't get to pass in options like NFSROOT, etc.  But these can all be
specified in the PXE boot config, I find that it's easier to work
with.

here's my pxelinux.cfg/C0A80105 as an example:

PROMPT 0
default fai-install
label fai-install
kernel k8
append root=/dev/nfs FAI_ACTION=install 
FAI_FLAGS=verbose,sshd,createvt,syslogd 
nfsroot=192.168.1.42:/usr/lib/fai/nfsroot console=ttyS0,115200
IPAPPEND 1

You also need to use this, if your NFS root server isn't the same as
your DHCP server, due to a deficiency in at least the 2.2.20 kernel
that ships with woody's FAI.
-- 
Sam Vilain, sam at vilain.net

  If Karl, instead of writing a lot about capital, had made a lot of
it ...  it would have been much better.
KARL MARX'S MOTHER




More information about the linux-fai mailing list