Errors while running fai-setup
Muniven Shekar-PTH473
Shekar.Muniven at motorola.com
Tue Aug 28 11:28:25 CEST 2007
Hi,
We are trying to create fai cd for edgy.
Here is what I have done so far:
- Installed all the fai related packages
o ||/ Name Version Description
o +++-=========================-=========================-==================================================================
o un fai <none> (no description available)
o ii fai-client 3.2 Fully Automatic Installation client package
o ii fai-doc 3.2 Documentation for FAI
o ii fai-kernels 1.17+etch2 special kernels for FAI (Fully Automatic Installation)
o in fai-nfsroot <none> (no description available)
o ii fai-quickstart 3.2 Fully Automatic Installation quickstart package
o ii fai-server 3.2 Fully Automatic Installation server package
- Copied the examples config contents to the cfgdir (/srv/fai/config)
o cp -a /usr/share/doc/fai-doc/examples/simple/* /srv/fai/config
- Ran fai-setup - here I am getting the following error.
+ install_kernel_nfsroot
+ rm /home/symbol/nfs_root/live/filesystem.dir/usr/sbin/update-initramfs
+ LC_ALL=C
+ chroot /home/symbol/nfs_root/live/filesystem.dir dpkg-divert --rename --remove /usr/sbin/update-initramfs
Removing `local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib'
+ chroot /home/symbol/nfs_root/live/filesystem.dir update-initramfs -k all -t -u
+ '[' x = x ']'
+ FAI_BOOT='dhcp bootp'
+ for bootopt in '$FAI_BOOT'
+ case $bootopt in
+ call_with_stamp setup_dhcp
+ local func=setup_dhcp
+ local stamp=/var/run/fai/make-fai-nfsroot/setup_dhcp
+ '[' '' -a -f /var/run/fai/make-fai-nfsroot/setup_dhcp ']'
+ setup_dhcp
+ local pxebin=/usr/lib/syslinux/pxelinux.0
+ rm -f '/home/symbol/nfs_root/live/filesystem.dir/boot/*.bak'
+ mkdir -p /srv/tftp/fai/pxelinux.cfg
+ cp -pv '/home/symbol/nfs_root/live/filesystem.dir/boot/vmlinuz-*' /srv/tftp/fai
cp: cannot stat `/home/symbol/nfs_root/live/filesystem.dir/boot/vmlinuz-*': No such file or directory
+ echo Aborting
+ umount_dirs
Aborting
+ '[' -f /home/symbol/nfs_root/live/filesystem.dir/usr/sbin/dpkg-divert ']'
+ LC_ALL=C
+ chroot /home/symbol/nfs_root/live/filesystem.dir dpkg-divert --rename --remove /sbin/discover-modprobe
Removing `local diversion of /sbin/discover-modprobe to /sbin/discover-modprobe.distrib'
+ cd /
+ '[' -d /home/symbol/nfs_root/live/filesystem.dir/proc/self ']'
+ umount /home/symbol/nfs_root/live/filesystem.dir/proc
+ '[' -d /home/symbol/nfs_root/live/filesystem.dir/proc/self ']'
+ '[' '' ']'
+ mount
+ grep ' on /home/symbol/nfs_root/live/filesystem.dir '
+ true
- Ran fai-cd - here again I am getting some error. Because of the previous error I guess
ls: /home/symbol/nfs_root/live/filesystem.dir/boot/vmlinu?-*: No such file or directory
cp: cannot stat `/home/symbol/nfs_root/live/filesystem.dir/boot/vmlinuz-': No such file or directory
umount: /tmp/fai-cd.U31491/live/filesystem.dir: not mounted
Pls let me know if I am missing any steps or configuration..
Thanks,
Shekar
More information about the linux-fai
mailing list