Dear all,

I followed the instructions on http://wiki.fai-project.org/wiki/Installing_Ubuntu_Linux_with_FAI to install Ubuntu 14.04 from an Ubuntu 14.04 server. However when the client boots via PXE, at some point it complains that in script /scripts/init-premount/mdadm and /scripts/init-premount/lvm2 it cannot find "add_mountroot_fail_hook". Later on the boot process loops forever in an USB disconnnect-USB connect cycle of the USB mouse.

I'm not sure if the two issues are connected, but that's about what I can see on the console.

fai-setup has been run as `fai-setup -vlfk`. fai-setup.log is attached. I'm not sure what to do with the messages regarding initramfs-tools in the fai-setup.log, either. The system is up-to-date:

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libevdev2
Use 'apt-get autoremove' to remove it.
The following packages have been kept back:
  initramfs-tools linux-generic-lts-vivid linux-headers-generic-lts-vivid
  linux-image-generic-lts-vivid
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
#

Any hint or reference to further reading is highly appreciated. Also let me know if you need additional information.

Cheers
Frank
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/var/log/fai/.ssh/known_hosts remained unchanged.
/var/log/fai/.ssh/authorized_keys created.
User account fai set up.
Using configuration files from /etc/fai
Upgrading nfsroot and installing new packages into the nfsroot.
Ign http://fai-project.org wheezy InRelease
Get:1 http://fai-project.org wheezy Release.gpg [819 B]
Hit http://fai-project.org wheezy Release
Ign http://extras.ubuntu.com trusty InRelease
Get:2 http://extras.ubuntu.com trusty Release.gpg [72 B]
Hit http://extras.ubuntu.com trusty Release
Ign http://fai-project.org wheezy Release
Ign http://extras.ubuntu.com trusty Release
Ign http://fai-project.org wheezy/koeln amd64 Packages/DiffIndex
Hit http://fai-project.org wheezy/koeln amd64 Packages
Ign http://extras.ubuntu.com trusty/main amd64 Packages/DiffIndex
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:3 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty-backports InRelease
Get:4 http://security.ubuntu.com trusty-security Release [63.5 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:5 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://archive.ubuntu.com trusty Release
Get:6 http://security.ubuntu.com trusty-security/main amd64 Packages [344 kB]
Get:7 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [622 kB]
Get:9 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8875 B]
Get:10 http://security.ubuntu.com trusty-security/universe amd64 Packages [116 kB]
Get:11 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.4 kB]
Get:12 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3691 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [319 kB]
Get:14 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [11.9 kB]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Fetched 1571 kB in 6s (244 kB/s)
Reading package lists...
W: GPG error: http://fai-project.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2BF8D9FE074BCDE4
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Adding additional packages to /srv/fai/nfsroot/live/filesystem.dir:
nfs-common fai-nfsroot module-init-tools ssh rdate lshw rpcbind rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools xfsprogs xfsdump procinfo numactl dialog console-common kbd iproute moreutils udev subversion xz-utils cupt pxelinux syslinux-common grub-pc linux-image-generic live-boot 
install_packages: reading config files from directory /etc/fai
install_packages: read config file NFSROOT
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir aptitude -R -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install nfs-common fai-nfsroot module-init-tools ssh rdate lshw rpcbind rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools xfsprogs xfsdump procinfo numactl dialog console-common kbd iproute moreutils udev subversion xz-utils cupt pxelinux syslinux-common grub-pc linux-image-generic live-boot
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No candidate version found for hwinfo
No candidate version found for pxelinux
No candidate version found for hwinfo
No candidate version found for pxelinux
The following NEW packages will be installed:
  console-common console-data{a} console-setup{a} kbd 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2639 kB of archives. After unpacking 5916 kB will be used.
The following packages have unmet dependencies:
 initramfs-tools : Breaks: console-setup (< 1.72) but 1.70ubuntu8 is to be installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     console-common [Not Installed]                     
2)     console-setup [Not Installed]                      
3)     kbd [Not Installed]                                



No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir dpkg --configure --pending
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir dpkg -C
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean
install_packages exit code: 0
‘/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-3.13.0-63-generic’ -> ‘/srv/tftp/fai/vmlinuz-3.13.0-63-generic’
‘/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-3.13.0-63-generic’ -> ‘/srv/tftp/fai/initrd.img-3.13.0-63-generic’
TFTP environment prepared. Enable DHCP and start the TFTP daemon on root /srv/tftp/fai.
fai-make-nfsroot finished properly.
 * Re-exporting directories for NFS kernel daemon...
   ...done.
FAI setup finished.

Antwort per Email an