>>>>> On Wed, 16 Nov 2011 16:01:21 +0100, Carsten Aulbert >>>>> <cars...@welcomes-you.com> said:
> I put 'set -x ' into the init function of the initrd to try to trace down if You do not need this. Just add the string debug to the kernel command line, that will do the same trick. The problem is, that the BOOTIF code is only used in the subroutine configure_networking(), which is only called in scripts/nfs but not in scritps/live. So I've tried to add this to scripts/live, and it seems to work in my test case. It may also be important to use IPAPPEND 2 not 3 on the kernel command line, so only BOOTIF is set but not ip=. --- live.orig 2011-11-16 20:32:16.000000000 +0100 +++ /srv/fai/nfsroot/live/filesystem.dir/usr/share/initramfs-tools/scripts/live 2011-11-16 20:32:48.000000000 +0100 @@ -1707,6 +1707,8 @@ . /scripts/live-functions Arguments +configure_networking +echo "DEVICE=$DEVICE" >> /conf/param.conf maybe_break live-premount log_begin_msg "Running /scripts/live-premount" After patching the scripts/live script inside the nfsroot, you have to rebuild the initrd (chroot into the nfsroot, rm initrd, then update-initramfs -c -k all) and copy it to /srv/tftp/fai. -- regards Thomas