On 02/07/2014 02:08 PM, Thomas Lange wrote:
On Fri, 07 Feb 2014 13:56:15 +0100, Alex Mestiashvili 
<[email protected]> said:
     > Just tried the new FAI 4.1 installed on a wheezy box.
     > nfsroot has FAI4.1 packages installed.

     > It seems that dracut fails to detect the correct interface on a multi
     > ethernet server.
See https://lists.uni-koeln.de/pipermail/linux-fai/2013-March/010022.html
 From man dracut.cmdline:

    ip=<interface>:_{dhcp|on|any|dhcp6|auto6}_[:[<mtu>][:_<macaddr>_]]

You can say: ip=eth1:dhcp
or even specify the MAC address with dracut.

yes, worked like a charm!, I start to like dracut :)


     > dracut: Mounted root filesystem 192.168.0.40:/srv/fai/nfsroot
     > aufs 3.2.x
     > warning can't open /etc/fstab: No such file or directory
     > dracut: Switching root
     > switch_root: failed to execute /sbin/init: Not a directory
     > Kernel panic - not syncing ...
This can also happen if it tires to do a NFS v4 mount. So, first check
if you see a mount request on the FAI install server. If yes, you may
have this NFSv4 problem. See these hints

https://lists.uni-koeln.de/pipermail/linux-fai/2013-January/009899.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676883#10


That was it, after fixing nfs options on the server side all works as expected.

Thank you a lot,
Alex

Antwort per Email an