WOODY FAI PROBLEMS

javi jballes at molina.subs.map.es
Thu Nov 8 13:55:50 CET 2001


Hi all!

  We are planing to port a lof NT' PC's to Debian/Woody, so
we are playing around with FAI. We have a problem, it seems
that fai-setup it's not working because the nfsroot is nor
created, we changed the configuration to fit Woody but
doesn't work. Here I put my fai.conf and the output of
fai-setup, thanks ins advance!!


# $Id: fai.conf,v 1.34 2001/09/13 13:48:02 lange Exp $

# /etc/fai.conf -- configuration for FAI (Fully Automatic
Installation)

# do not change next line
FAI_ARCH=`dpkg --print-installation-architecture`

ftpserver=ftp.debian.org
debdist=testing # distribution: stable, testing, unstable

# if FAI_DEBOOTSTRAP is defined, use debootstrap, not
base2_2.tgz
FAI_DEBOOTSTRAP="woody ftp://$ftpserver/debian"
FAI_DEBOOTSTRAP="woody file:/files/scratch/debian"

# fai-setup will use the file /tmp/base2_2.tgz (for potato),
if one
# exists. If not, specify an URL to this file. It will
# be downloaded to /tmp or a symlink is made.
#FAI_BASETGZ=/files/scratch/debian/dists/potato/main/disks-$FAI_ARCH/current/base2_2.tgz
#FAI_BASETGZ="ftp://$ftpserver/debian/dists/woody/main/disks-$FAI_ARCH/current/base2_2.tgz"

# Location of the Debian mirror
#
# - FAI_SOURCES_LIST can contain more than one line
#   there you can use nfs, ftp or http access. If undefined,
FAI will
#   use /etc/apt/sources.list instead
# - if FAI_DEBMIRROR is defined, install clients mount it to
$MNTPOINT

# Access to Debian mirror via FTP or HTTP
FAI_SOURCES_LIST="deb ftp://$ftpserver/debian $debdist main
contrib non-free
deb ftp://$ftpserver/debian dists/proposed-updates/
deb http://non-us.debian.org/debian-non-US $debdist/non-US
main contrib non-free
deb http://$ftpserver/debian dists/proposed-updates/
deb http://security.debian.org/ $debdist/updates main
contrib non-free"
#
# Access to Debian mirror via NFS mounted directory
#
# NFS remote location of mirror
#FAI_DEBMIRROR=kueppers:/files/scratch/
# mount point where the mirror will be mounted;
# must not be used by other filesystems
#MNTPOINT=/mnt2
#FAI_SOURCES_LIST="deb file:$MNTPOINT/debian $debdist main
contrib non-free
#deb file:$MNTPOINT/debian/ dists/proposed-updates/
#deb file:$MNTPOINT/debian-non-US $debdist/non-US main
contrib non-free"

# additional packages, that will be installed into nfsroot
# add lvm, raidtools2 only if needed
#NFSROOT_PACKAGES="ssh expect5.31" # potato
NFSROOT_PACKAGES="ssh expect portmap" # woody

# the root password on all install clients during
installation process
# pw is: fai
FAI_ROOTPW="lorien00"

# location of a .ssh/.identity.pub file; this user can log
in as root
# without password ; only usefull with FAI_FLAGS="sshd"
#SSH_IDENTITY=/home/admin/.ssh/identity.pub

# Set UTC=yes if your system clock is set to UTC (GMT), and
UTC=no if not.
# Can be overridden in class/*.var files
UTC=yes

# this kernel package will be installed to nfsroot, default
kernel for
# booting install clients
KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.2.19_BOOTP1_i386.deb

# version of the kernel, that will be installed onto the
install
# clients, can be overwritten by variable kernelimage
(class/*.var) 
KERNELVERSION=2.2.19

# Beowulf nodes can only connect to their master server -
called
# atom00 for the clients - so they must know it during
# installation. This line will be added to
$nfsroot/etc/hosts
#NFSROOT_ETC_HOSTS="192.168.42.250 atom00"

# LOGUSER: an account on the install server, which saves all
log-files
# and which can change the kernel that is booted via
# network. Configure .rhosts for this account and PAM , so
root can
# log in from all install clients without password. This
account
# should have write permissions for /boot/fai. For eg. you
can use
# write permissions for the group linuxadm. chgrp linuxadm
# /boot/fai;chmod g+w /boot/fai. If the variable is
undefined, this
# feature is disabled
LOGUSER=fai

# use ssh or rsh
FAI_REMOTESH=rsh
# use scp or rcp
FAI_REMOTECP=rcp

#
# following variables are read only for most users
#

# directory, where the nfsroot for FAI is created, approx
size: 140MB
# it's a good idea to put it on a separate disk partition
# change also in bootptab or dhcp.conf
NFSROOT=/usr/lib/fai/nfsroot

# the configuration space
FAI_CONFIGDIR=/usr/local/share/fai


and the output of fai-setup:

Script started on Thu Nov  8 13:45:04 2001
mitnick:~# fai-setup 
Account $LOGUSER=fai already exists.
Make sure, that all install clients can
log into this account without a password.
/home/fai/.rhosts created.
User account fai set up.
Creating FAI nfsroot can take a long time and will
need more than 130MB disk space in /usr/lib/fai/nfsroot.
/usr/lib/fai/nfsroot already exists. Removing
/usr/lib/fai/nfsroot
Creating nfsroot for woody using debootstrap


Script done on Thu Nov  8 13:46:18 2001








-- 

CAPON http://capon.sourceforge.net
C.B HOLOGRAMAS http://webs.demasiado.com/hologramas
LInuxeros LOcos http://lilo.sourceforge.net
Llave publica
http://www.terra.es/personal5/heraclit0/heraclit0.gpg
Usuario de Linux registrado Nª 224358 en
http://counter.li.org
Tfno curro: 915866123



More information about the linux-fai mailing list