On 2015-08-27, Elias Diem wrote: > I'm trying to do some Ubuntu (more specifically Edubuntu) > installs using FAI. The server runs Debian 8. > > When I boot a client, the kernel (?) can't find > /lib/udev/hwdb.bin > > How do I fix this? > > Attached are some config files.
I also attach /var/log/fai/fai-setup.log Thanks -- Greetings Elias
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. Creating FAI nfsroot in /srv/fai/nfsroot/live/filesystem.dir Creating base system using debootstrap version 1.0.67 Calling debootstrap --exclude=info --include=aptitude trusty /srv/fai/nfsroot/live/filesystem.dir http://ch.archive.ubuntu.com/ubuntu Creating base.tar.xz Warning: no hostname for 10.0.2.15 found, not adding to /etc/hosts. Extracting templates from packages: 88% Extracting templates from packages: 100% Creating config file /etc/idmapd.conf with new version Creating config file /etc/default/nfs-common with new version invoke-rc.d: unknown initscript, /etc/init.d/statd not found. invoke-rc.d: policy-rc.d denied execution of start. invoke-rc.d: unknown initscript, /etc/init.d/gssd not found. invoke-rc.d: policy-rc.d denied execution of start. invoke-rc.d: unknown initscript, /etc/init.d/idmapd not found. invoke-rc.d: policy-rc.d denied execution of start. Extracting templates from packages: 38% Extracting templates from packages: 77% Extracting templates from packages: 100% Current default time zone: 'Etc/UTC' Local time is now: Mon Aug 31 15:42:55 UTC 2015. Universal Time is now: Mon Aug 31 15:42:55 UTC 2015. Run 'dpkg-reconfigure tzdata' if you wish to change it. invoke-rc.d: policy-rc.d denied execution of stop. invoke-rc.d: policy-rc.d denied execution of stop. invoke-rc.d: policy-rc.d denied execution of start. invoke-rc.d: policy-rc.d denied execution of start. invoke-rc.d: policy-rc.d denied execution of restart. Adding additional packages to /srv/fai/nfsroot/live/filesystem.dir: console-common cupt dialog dnsutils dosfstools dump e2fsprogs fai-nfsroot hdparm initramfs-tools iproute kbd less lftp live-config-sysvinit lshw lvm2 mdadm module-init-tools moreutils nfs-common ntpdate numactl parted pciutils procinfo psmisc rdate reiserfsprogs rpcbind rsync ssh syslinux-common sysvinit-utils udev usbutils vim-runtime vim-scripts xfsdump xfsprogs xz-utils grub-pc linux-image-generic live-boot Extracting templates from packages: 42% Extracting templates from packages: 84% Extracting templates from packages: 100% Done. Looking for keymap to install: NONE Looking for keymap to install: NONE invoke-rc.d: policy-rc.d denied execution of start. Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-62-generic /boot/vmlinuz-3.13.0-62-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-62-generic /boot/vmlinuz-3.13.0-62-generic update-initramfs: Generating /boot/initrd.img-3.13.0-62-generic df: Warning: cannot read table of mounted file systems: No such file or directory W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays. W: mdadm: failed to auto-generate temporary mdadm.conf file. live-boot: core filesystems devices utils udev blockdev. update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none) invoke-rc.d: policy-rc.d denied execution of restart. invoke-rc.d: policy-rc.d denied execution of start. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-62-generic /boot/vmlinuz-3.13.0-62-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-62-generic /boot/vmlinuz-3.13.0-62-generic update-initramfs: Generating /boot/initrd.img-3.13.0-62-generic df: Warning: cannot read table of mounted file systems: No such file or directory W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays. W: mdadm: failed to auto-generate temporary mdadm.conf file. live-boot: core filesystems devices utils udev blockdev. W: mdadm: failed to load MD subsystem. Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) invoke-rc.d: policy-rc.d denied execution of start. Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of start. Creating config file /etc/default/grub with new version grub-probe: error: cannot find a device for / (is /dev mounted?). grub-probe: error: cannot find a device for /boot (is /dev mounted?). grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?). df: Warning: cannot read table of mounted file systems: No such file or directory W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays. W: mdadm: failed to auto-generate temporary mdadm.conf file. install_packages exit code: 0 ‘/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-3.13.0-62-generic’ -> ‘/srv/tftp/fai/vmlinuz-3.13.0-62-generic’ ‘/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-3.13.0-62-generic’ -> ‘/srv/tftp/fai/initrd.img-3.13.0-62-generic’ TFTP environment prepared. Enable DHCP and start the TFTP daemon on root /srv/tftp/fai. FAI packages inside the nfsroot: fai-client 3.4.8ubuntu5 fai-nfsroot 3.4.8ubuntu5 fai-setup-storage 3.4.8ubuntu5 FAI related packages inside the nfsroot: live-boot 3.0.1-1 Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib' Waiting for background jobs to finish [1]+ Done nice xz -q $NFSROOT/var/tmp/base.tar (wd: /srv/fai/nfsroot/live/filesystem.dir) fai-make-nfsroot finished properly. Log file written to /var/log/fai/fai-make-nfsroot.log Reloading nfs-kernel-server configuration (via systemctl): nfs-kernel-server.service. You have no FAI configuration space yet. Copy the simple examples with: cp -a /usr/share/doc/fai-doc/examples/simple/* /srv/fai/config Then change the configuration files to meet your local needs. Please don't forget to fill out the FAI questionnaire after you've finished your project with FAI. FAI setup finished.