missing fai shell script ?

fai amd faiamd64 at yahoo.com
Tue May 2 08:54:36 CEST 2006


hi,

while i solved the earlier problem of the mirror. but now i have this
problem of the missing fai shell script. this is what is causing the
problem of the read-only filesystem.

would appreciate some help. 

thanks 
regards
john.

config: 

http://www.uni-koeln.de/bin2/maillist/linux-fai/20060428.174234/171705


fai-amd64:~# find /usr/lib/fai/nfsroot -type f -name fai
fai-amd64:~# find /usr/lib/fai/nfsroot -type f -name rcS
/usr/lib/fai/nfsroot/etc/default/rcS
/usr/lib/fai/nfsroot/etc/init.d/rcS
fai-amd64:~#

fai-amd64:~# cat /usr/lib/fai/nfsroot/etc/init.d/rcS
#! /bin/sh
# Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order

exec /etc/init.d/rc S
fai-amd64:~#

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.
+ PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
++ id -u
+ '[' 0 -ne 0 ']'
+ merror=properly
+ getopts ervc:f:kK opt
+ verbose=1
+ v=-v
+ getopts ervc:f:kK opt
+ set -e
+ '[' -z '' ']'
+ cfdir=/etc/fai
+ '[' '!' -d /etc/fai ']'
+ '[' 1 ']'
+ echo 'Using configuration files from directory /etc/fai'
Using configuration files from directory /etc/fai
+ . /etc/fai/fai.conf
++ installserver=INSTALLSERVER
++ mirrorhost=192.168.0.100
++ SERVERINTERFACE=eth1
++ LOGUSER=fai
++ FAI_REMOTESH=rsh
++ FAI_REMOTECP=rcp
++ FAI_LOGPROTO=
++ LOGSERVER=
++ LOGREMOTEDIR=upload
++ LOGPASSWD=
++ FAI_CONFIGDIR=/usr/local/share/fai
++ FAI_LOCATION=INSTALLSERVER:/usr/local/share/fai
++ MNTPOINT=/mnt2
++ NFSROOT=/usr/lib/fai/nfsroot
++ FAI=/fai
+ '[' -f /etc/fai/make-fai-nfsroot.conf ']'
+ . /etc/fai/make-fai-nfsroot.conf
++ FAI_DEBOOTSTRAP=sid http://192.168.0.100/debian
++ NFSROOT_PACKAGES=cfengine expect kudzu
++ FAI_ROOTPW=$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1
++
KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.6.8_10.00.Custom_amd64.deb
++ FAI_BOOT=dhcp bootp
+++ ifconfig eth1
+++ grep -w inet
+++ cut -d : -f 2
+++ cut -d ' ' -f 1
+++ sed -e 's/\(.*\)\.[0-9]*/\1.0\/24/'
+++ tr -d ' '
++ FAICLIENTS=192.168.0.0/24
++ FAI_DEBOOTSTRAP_OPTS=--arch amd64
--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,exim4,exim4-base,exim4-conf
ig,exim4-daemon-light,mailx,at,fdutils,info,modconf,libident,logrotate,exim
++ nfssize=250MB
++ packages=fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
hwinfo portmap
bootpc rsync wget rsh-client less dump reiserfsprogs usbutils
psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl
console-tools
+ '[' -z /usr/lib/fai/nfsroot ']'
+ '[' '' ']'
+ '[' '!' -s /etc/fai/sources.list ']'
+ kfile=vmlinuz
++ dpkg --print-installation-architecture
+ arch_packages=grub lilo dmidecode
+ packages=fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
hwinfo portmap
bootpc rsync wget rsh-client less dump reiserfsprogs usbutils
psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl
console-tools
grub lilo dmidecode
+ ROOTCMD=chroot /usr/lib/fai/nfsroot
+ RUNDIR=/var/run/fai/make-fai-nfsroot
+ '[' '!' -d /var/run/fai/make-fai-nfsroot ']'
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ '[' '' ']'
+ rm -rf '/var/run/fai/make-fai-nfsroot/*'
+ trap umount_dirs EXIT
+ trap bad_exit ERR
+ '[' -z /usr/lib/fai/kernel/kernel-image-2.6.8_10.00.Custom_amd64.deb
']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ echo 'Creating FAI nfsroot in /usr/lib/fai/nfsroot.'
Creating FAI nfsroot in /usr/lib/fai/nfsroot.
+ echo 'It needs more than 250MB disk space.'
It needs more than 250MB disk space.
This may take a long time.
+ '[' -d /usr/lib/fai/nfsroot//fai -a '!' '' ']'
+ echo /usr/lib/fai/nfsroot already exists. Removing
/usr/lib/fai/nfsroot
/usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
+ umount /usr/lib/fai/nfsroot/dev/pts
+ true
+ rm -rf '/usr/lib/fai/nfsroot/.??*' /usr/lib/fai/nfsroot/bin
/usr/lib/fai/nfsroot/boot /usr/lib/fai/nfsroot/dev /usr/lib/fai/
nfsroot/etc /usr/lib/fai/nfsroot/fai /usr/lib/fai/nfsroot/home
/usr/lib/fai/nfsroot/initrd /usr/lib/fai/nfsroot/lib /usr/lib/f
ai/nfsroot/lib64 /usr/lib/fai/nfsroot/media /usr/lib/fai/nfsroot/mnt
/usr/lib/fai/nfsroot/opt /usr/lib/fai/nfsroot/proc /usr/l
ib/fai/nfsroot/root /usr/lib/fai/nfsroot/sbin /usr/lib/fai/nfsroot/srv
/usr/lib/fai/nfsroot/sys /usr/lib/fai/nfsroot/tmp /usr/
lib/fai/nfsroot/usr /usr/lib/fai/nfsroot/var
+ find /usr/lib/fai/nfsroot -xdev -maxdepth 1 '!' -type d
+ xargs -r rm -f
++ which debootstrap
+ '[' '!' -x /usr/sbin/debootstrap ']'
+ call_with_stamp create_nfsroot
+ local func=create_nfsroot
+ local stamp=/var/run/fai/make-fai-nfsroot/create_nfsroot
+ '[' '' -a -f /var/run/fai/make-fai-nfsroot/create_nfsroot ']'
+ create_nfsroot
+ mkdir -p /usr/lib/fai/nfsroot//fai
+ cd /usr/lib/fai/nfsroot
+ call_with_stamp create_base
+ local func=create_base
+ local stamp=/var/run/fai/make-fai-nfsroot/create_base
+ '[' '' -a -f /var/run/fai/make-fai-nfsroot/create_base ']'
+ create_base
+ '[' 'sid http://192.168.0.100/debian' ']'
+ call_with_stamp call_debootstrap sid http://192.168.0.100/debian
+ local func=call_debootstrap
+ local stamp=/var/run/fai/make-fai-nfsroot/call_debootstrap
+ '[' '' -a -f /var/run/fai/make-fai-nfsroot/call_debootstrap ']'
+ call_debootstrap sid http://192.168.0.100/debian
+ echo 'Creating base system for sid using debootstrap.'
Creating base system for sid using debootstrap.
+ '[' 1 ']'
+ echo 'Calling debootstrap sid /usr/lib/fai/nfsroot
http://192.168.0.100/debian'
Calling debootstrap sid /usr/lib/fai/nfsroot
http://192.168.0.100/debian
+ yes ''
+ LC_ALL=C
+ call_verbose debootstrap --arch amd64
--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,exim4,exim4-base,exim4-c
onfig,exim4-daemon-light,mailx,at,fdutils,info,modconf,libident,logrotate,exim
sid /usr/lib/fai/nfsroot http://192.168.0.100/debian
+ '[' 1 ']'
+ debootstrap --arch amd64
--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,exim4,exim4-base,exim4-config,exim4-d
aemon-light,mailx,at,fdutils,info,modconf,libident,logrotate,exim sid
/usr/lib/fai/nfsroot http://192.168.0.100/debian
I: Retrieving debootstrap.invalid_dists_sid_Release
I: Validating debootstrap.invalid_dists_sid_Release
I: Retrieving debootstrap.invalid_dists_sid_main_binary-amd64_Packages
I: Validating debootstrap.invalid_dists_sid_main_binary-amd64_Packages

.
.
.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the linux-fai mailing list