On 20 Nov 2008, at 19:03 , Thomas Neumann wrote:
On my site, DHCP and TFTP/FAI are on two different servers. Also, in
pxelinux.cfg/ file, there is ip=dhcp line.
Since the kernel parameters are: nfsroot=/srv/fai/nfsroot, I assume
this is causing the problem?
nfsroot=<faiserver ip>:/srv/fai/nfsroot
IIRC you have to specify the faiserver's ip not his hostname,
because the
initrd might not be able to correctly resolve the hostname.
Hi Thomas, thanks for the reply.
I tried this line:
append initrd=initrd.img-2.6.26-1-amd64 root=/dev/nfs
nfsroot=128.178.149.130:/srv/fai/nfsroot boot=live
FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install
but it still fails.
What I managed to discover is that the system hangs at the call to:
/srv/fai/nfsroot/live/filesystem.dir/usr/lib/klibc/bin/ipconfig
DHCP server replies, though:
Nov 20 19:16:25 nslrack03 dhcpd: DHCPDISCOVER from 00:15:17:28:1b:92
via eth0
Nov 20 19:16:25 nslrack03 dhcpd: DHCPOFFER on 128.178.149.169 to
00:15:17:28:1b:92 via eth0
Nov 20 19:16:33 nslrack03 dhcpd: DHCPREQUEST for 128.178.149.169 from
00:15:17:28:1b:92 via eth0
Nov 20 19:16:33 nslrack03 dhcpd: DHCPACK on 128.178.149.169 to
00:15:17:28:1b:92 via eth0
I will investigate this more, and let you know what is happening...
Cheers,
N.