Huh? pxelinux.0 missing after fai-setup

Robert Markula robert.markula at gmx.net
Thu Jun 11 22:53:21 CEST 2009


Hi list,
I'm experiencing something strange that I just can't sort out.

Running fai-setup exits just fine, no error messages, but the
/srv/tftp/fai/pxelinux.0 file is missing. It just isn't created by
fai-setup. What am I doing wrong?

Cheers,
Robert


P.S. Here's my setup:

*** /etc/fai/fai.conf: ***
#FAI_DEBMIRROR=yournfs debianmirror:/path/to/debianmirror
LOGUSER=fai
FAI_LOGPROTO=ssh
FAI_CONFIGDIR=/srv/fai/config
#FAI_CONFIG_SRC=nfs://yourservername$FAI_CONFIGDIR
SERVERINTERFACE=eth1
MNTPOINT=/media/mirror
FAI=/var/lib/fai/config

*** /etc/fai/make-fai-nfsroot.conf: ***
NFSROOT=/srv/fai/nfsroot
TFTPROOT=/srv/tftp/fai
FAI_DEBOOTSTRAP="lenny http://http.us.debian.org/debian"
FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
#SSH_IDENTITY=/home/admin/.ssh/identity.pub
#NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info"

*** /etc/fai/apt/sources.list: ***
deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/debian-security lenny/updates main
contrib non-free

And, for the faint of the heart, the fai-setup logfile:

*** Long log begin ***
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/home/fai/.ssh/known_hosts remained unchanged.
/home/fai/.ssh/authorized_keys created.
User account fai set up.
Creating FAI nfsroot in /srv/fai/nfsroot/live/filesystem.dir.
By default it needs more than 390 MBytes disk space.
This may take a long time.
/srv/fai/nfsroot/live/filesystem.dir already exists. Removing
/srv/fai/nfsroot/live/filesystem.dir
Creating base system using debootstrap version 1.0.12
Calling debootstrap lenny /srv/fai/nfsroot/live/filesystem.dir
http://http.us.debian.org/debian
Creating base.tgz
Upgrading /srv/fai/nfsroot/live/filesystem.dir
install_packages: reading config files from directory /etc/fai
Adding additional packages to /srv/fai/nfsroot/live/filesystem.dir:
nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
portmap bootpc rsync lftp less dump reiserfsprogs e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils
ntpdate dosfstools cvs jove xfsprogs xfsdump procinfo dialog discover
mdetect console-tools console-common expect iproute udev subversion
liblinux-lvm-perl cfengine2 libapt-pkg-perl grub lilo read-edid
linux-image-486 aufs-modules-2.6-486
install_packages: reading config files from directory /etc/fai
Extracting templates from packages: 100%
install_packages exit code: 0
„/etc/fai/apt“ -> „/srv/fai/nfsroot/live/filesystem.dir/etc/fai/apt“
„/etc/fai/apt/sources.list.old“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/apt/sources.list.old“
„/etc/fai/apt/sources.list“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/apt/sources.list“
„/etc/fai/fai.conf“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf“
„/etc/fai/fai.conf.old“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf.old“
„/etc/fai/live.conf“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/live.conf“
„/etc/fai/make-fai-nfsroot.conf“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/make-fai-nfsroot.conf“
„/etc/fai/make-fai-nfsroot.conf.old“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/make-fai-nfsroot.conf.old“
„/etc/fai/menu.lst“ ->
„/srv/fai/nfsroot/live/filesystem.dir/etc/fai/menu.lst“
„/etc/fai/NFSROOT“ -> „/srv/fai/nfsroot/live/filesystem.dir/etc/fai/NFSROOT“
Shadow passwords are now on.
„/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-2.6.26-2-486“ ->
„/srv/tftp/fai/vmlinuz-2.6.26-2-486“
„/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-2.6.26-2-486“ ->
„/srv/tftp/fai/initrd.img-2.6.26-2-486“
DHCP environment prepared. If you want to use it, you have to enable the
dhcpd and the tftp-hpa daemon.
Removing `local diversion of /sbin/discover-modprobe to
/sbin/discover-modprobe.distrib'
make-fai-nfsroot finished properly.
No diversion `any diversion of /sbin/discover-modprobe', none removed
Log file written to /var/log/fai/make-fai-nfsroot.log
 * Re-exporting directories for NFS kernel daemon...
   ...done.
FAI setup finished.
Log file written to /var/log/fai/fai-setup.log
*** Long log end ***


More information about the linux-fai mailing list