Hallo allerseits, als Neuling habe ich so meine Schwierigkeiten, die ich alleine offensichtlich nicht überwinden kann.
Unter Debian etch mit Kernel 2.6.18-5-686 habe ich folgende Pakete installiert: fai-client, fai-server, fai-doc, fai-kernels, fai-quickstart FAI-Version 3.2.1 DNS-Server ist verfügbar. Entsprechend /usr/share/doc/fai-doc/fai-guide.txt habe ich Beispieldateien kopiert: cp -a /usr/share/doc/fai-doc/examples/simple/* /fai/config/ Danach habe ich fai-setup gestartet. fai-setup bricht immer wieder ab. Als einzige Fehlermeldung in der Ausgabe finde ich: cp: missing destination file operand after `/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-2.6.18-5-486' Try `cp --help' for more information. Diese Meldung hilft mir in keiner Weise auf die Sprünge. cp --help hilft de facto auch nicht, denn da erscheint - wie zu erwarten - nur die Standardhilfe von cp. Außerdem finde ich mitten in der fai-setup-Ausgabe: Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/2.6.18-5-486/source An dieser Stelle bin ich überfordert. Tatsächlich existiert auf meinem faiserver /lib/modules/2.6.18-5-486/source nicht, sondern nur /lib/modules/2.6.18-5-686, und darin aber weder Verzeichnis noch Datei source. Ich verstehe die Meldung so: /lib/modules/2.6.18-5-486/source soll ein Link auf irgendein hier nicht genanntes "target" sein, welches wohl nicht existiert, weshalb der Link gelöscht wird. Aber welches target ist denn gemeint? Wie soll ich das target erstellen, wenn ich nicht weiß wo und was? Manchmal stehe ich regelrecht auf dem Schlauch, aber diesmal haben weder Suchmaschinen noch Dokumentation, noch die Ausgabe von "fai-setup -v" zur Erkenntnis geführt. Irgend etwas muss ich übersehen haben, nur was? Für jede Anregung bin ich dankbar. Gruß, Viktor ============================================ Hiernach Details zu meiner FAI-Konfiguration ============================================ Die Beispieldateien nach FAI_CONFIGDIR kopiert: cp -a /usr/share/doc/fai-doc/examples/simple/* /fai/config/ Meine /etc/fai/fai.conf: installserver=faiserver FAI_CONFIGDIR=/fai/config FAI_CONFIG_SRC=nfs://$installserver$FAI_CONFIGDIR FAI=/fai Meine /etc/fai/make-fai-nfsroot.conf: FAI_DEBOOTSTRAP="etch http://ftp.debian.de/debian" FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' NFSROOT=/fai/nfsroot Meine /etc/fai/NFSROOT: PACKAGES install fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw hwinfo portmap bootpc rsync lftp rsh-client less dump reiserfsprogs ext2resize usbutils hwinfo psmisc pciutils hdparm smartmontools parted lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect console-tools console-common expect iproute udev subversion # needed for the simple examples cfengine2 libapt-pkg-perl # you should not edit the lines below # architecture dependend list of packages that are installed PACKAGES install I386 grub lilo read-edid linux-image-486 unionfs-modules-2.6-486 PACKAGES install AMD64 grub lilo linux-image-2.6-amd64 unionfs-modules-2.6-amd64 PACKAGES install IA64 elilo gnu-efi efibootmgr PACKAGES install SPARC silo sparc-utils PACKAGES install ALPHA aboot Nach Auruf von fai-setup erscheint folgende Ausgabe: Creating FAI nfsroot in /fai/nfsroot/live/filesystem.dir. By default it needs more than 330 MBytes disk space. This may take a long time. /fai/nfsroot/live/filesystem.dir already exists. Removing /fai/nfsroot/live/filesystem.dir Creating base system using debootstrap version 0.3.3.2etch1 Calling debootstrap etch /fai/nfsroot/live/filesystem.dir http://ftp.debian.de/debian Creating base.tgz Upgrading /fai/nfsroot/live/filesystem.dir Making a key pair for cfengine, please wait, this could take a minute... Writing private key to /var/lib/cfengine2/ppkeys/localhost.priv Writing public key to /var/lib/cfengine2/ppkeys/localhost.pub install_packages: reading config files from directory /etc/fai Adding additional packages to /fai/nfsroot/live/filesystem.dir:fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw portmap bootpc rsync lftp rsh-client less dump reiserfsprogs ext2resize usbutils hwinfo psmisc pciutils hdparm smartmontools parted lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect console-tools console-common expect iproute udev subversion cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-486 unionfs-modules-2.6-486
install_packages: reading config files from directory /etc/fai Extracting templates from packages: 100% Done. Looking for keymap to install: NONE Looking for keymap to install: NONE /sys/class/net/ is not available, persistent interface names not saved. Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-486/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/2.6.18-5-486/source Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. Backing up any LVM2 metadata that may exist...done. Checking available versions of rmt, updating links in /etc/alternatives ... (You may modify the symlinks there yourself if desired - see `man ln'.) Updating rmt (/usr/sbin/rmt) to point to /usr/sbin/rmt-dump. Updating rmt.8.gz (/usr/share/man/man8/rmt.8.gz) to point to /usr/share/man/man8/rmt-dump.8.gz. Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... `/etc/fai/apt' -> `/fai/nfsroot/live/filesystem.dir/etc/fai/apt' `/etc/fai/apt/sources.list' -> `/fai/nfsroot/live/filesystem.dir/etc/fai/apt/sources.list' `/etc/fai/fai.conf' -> `/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf' `/etc/fai/make-fai-nfsroot.conf' -> `/fai/nfsroot/live/filesystem.dir/etc/fai/make-fai-nfsroot.conf' `/etc/fai/NFSROOT' -> `/fai/nfsroot/live/filesystem.dir/etc/fai/NFSROOT' Shadow passwords are now on. Removing `local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib' update-initramfs: Generating /boot/initrd.img-2.6.18-5-486 cp: missing destination file operand after `/fai/nfsroot/live/filesystem.dir/boot/vmlinuz-2.6.18-5-486' Try `cp --help' for more information. Aborting Removing `local diversion of /sbin/discover-modprobe to /sbin/discover-modprobe.distrib'
signature.asc
Description: OpenPGP digital signature
