Regarding FAI installation

amit singh amitmpec at gmail.com
Tue Jan 13 13:01:25 CET 2009


Hi..

       I was read FAI guide then i was install all packages given in FAI
doc. then i was run that command  *fai-setup -v*
then i was got this message

fai-setup -v
Using configuration files from /etc/fai
Creating FAI nfsroot in /srv/fai/nfsroot/live/filesystem.dir.
By default it needs more than 330 MBytes disk space.
This may take a long time.
Creating base system using debootstrap version
Calling debootstrap etch /srv/fai/nfsroot/live/filesystem.dir
http://ftp.debian.org/debian
I: Retrieving Release
E: Failed getting release file
http://ftp.debian.org/debian/dists/etch/Release
chroot: cannot run command `apt-get': No such file or directory
Creating base.tgz
/usr/sbin/make-fai-nfsroot: line 262:
/srv/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz: No such file or
directory
chroot: cannot run command `dpkg': No such file or directory
/usr/sbin/make-fai-nfsroot: line 276: var/tmp/base-pkgs.lis: No such file or
directory
/usr/sbin/make-fai-nfsroot: line 287: etc/fstab: No such file or directory
/usr/sbin/make-fai-nfsroot: line 288: etc/raidtab: No such file or directory
/usr/sbin/make-fai-nfsroot: line 289: etc/default/ntp-servers: No such file
or directory
/usr/sbin/make-fai-nfsroot: line 299:
/srv/fai/nfsroot/live/filesystem.dir/etc/apt/apt.conf.d/10fai: No such file
or directory
Upgrading /srv/fai/nfsroot/live/filesystem.dir
`/etc/resolv.conf' ->
`/srv/fai/nfsroot/live/filesystem.dir/etc/resolv.conf-installserver'
`/etc/resolv.conf' -> `/srv/fai/nfsroot/live/filesystem.dir/etc/resolv.conf'
chroot: cannot run command `apt-get': No such file or directory
chroot: cannot run command `aptitude': No such file or directory
chroot: cannot run command `apt-get': No such file or directory
mount: mount point /srv/fai/nfsroot/live/filesystem.dir/proc does not exist
chroot: cannot run command `dpkg-divert': No such file or directory
ln: creating symbolic link
`/srv/fai/nfsroot/live/filesystem.dir/usr/sbin/update-initramfs' to
`/bin/true': No such file or directory
chroot: cannot run command `dpkg-divert': No such file or directory
chroot: cannot run command `dpkg-divert': No such file or directory
cp: accessing `/srv/fai/nfsroot/live/filesystem.dir/sbin/start-stop-daemon':
Not a directory
chroot: cannot run command `apt-get': No such file or directory
chroot: cannot run command `dpkg': No such file or directory
/usr/sbin/make-fai-nfsroot: line 376:
/srv/fai/nfsroot/live/filesystem.dir/var/tmp/packages.nfsroot: No such file
or directory
Adding additional packages to /srv/fai/nfsroot/live/filesystem.dir:
cat: /srv/fai/nfsroot/live/filesystem.dir/var/tmp/packages.nfsroot: No such
file or directory
install_packages: reading config files from directory /etc/fai
install_packages: read config file NFSROOT
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir
apt-get clean
chroot: cannot run command `apt-get': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code
127
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir
aptitude -R -y -o Dpkg::Options::="--force-confdef" -o
Dpkg::Options::="--force-confold" install nfs-common fai-nfsroot
module-init-tools dhcp3-client ssh rdate lshw portmap bootpc rsync lftp less
dump reiserfsprogs ext2resize usbutils hwinfo psmisc pciutils hdparm
smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove
xfsprogs xfsdump sysutils dialog discover mdetect console-tools
console-common expect iproute udev subversion cfengine2 libapt-pkg-perl
chroot: cannot run command `aptitude': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir aptitude -R -y -o
Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
install nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
portmap bootpc rsync lftp less dump reiserfsprogs ext2resize usbutils hwinfo
psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate
dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect
console-tools console-common expect iproute udev subversion cfengine2
libapt-pkg-perl return code 127
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir
apt-get clean
chroot: cannot run command `apt-get': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code
127
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir dpkg
--configure --pending
chroot: cannot run command `dpkg': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir dpkg --configure
--pending return code 127
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir dpkg
-C
chroot: cannot run command `dpkg': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir dpkg -C return code 127
install_packages: executing chroot /srv/fai/nfsroot/live/filesystem.dir
apt-get clean
chroot: cannot run command `apt-get': No such file or directory
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code
127
6 errors during executing of commands
install_packages exit code: 3
chroot: cannot run command `chpasswd': No such file or directory
cp: target `/srv/fai/nfsroot/live/filesystem.dir/etc/fai' is not a directory
/usr/sbin/make-fai-nfsroot: line 231:
/srv/fai/nfsroot/live/filesystem.dir/etc/fai/fai.conf: No such file or
directory
chroot: cannot run command `shadowconfig': No such file or directory
rm: cannot remove `etc/mtab': No such file or directory
ln: creating symbolic link `etc/init.d/rcS' to `/usr/sbin/fai': No such file
or directory
/usr/sbin/make-fai-nfsroot: line 330: etc/network/interfaces: No such file
or directory
/usr/sbin/make-fai-nfsroot: line 332: root/.profile: No such file or
directory
rm: cannot remove
`/srv/fai/nfsroot/live/filesystem.dir/usr/sbin/update-initramfs': No such
file or directory
chroot: cannot run command `dpkg-divert': No such file or directory
chroot: cannot run command `update-initramfs': No such file or directory
Aborting
Log file written to /var/log/fai/make-fai-nfsroot.log
Adding line to /etc/exports: /srv/fai/config
10.217.20.77/255.0.0.0(async,ro,no_subtree_check)
Adding line to /etc/exports: /srv/fai/nfsroot
10.217.20.77/255.0.0.0(async,ro,no_subtree_check,no_root_squash)
Re-exporting directories for NFS kernel daemon....
FAI setup finished.
Log file written to /var/log/fai/fai-setup.log

*Please HELP ME !!!!  me how to remove these errors*

Regards
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090113/bac822d4/attachment.htm 


More information about the linux-fai mailing list