Le lundi 08 mai 2006 à 12:25 +0200, Andreas Sindermann a écrit : > Xavier Claessens writes: > > I got this error on ubuntu dapper when running "fai-setup": > > Kernel installed into the nfsroot. > > FATAL: Could not open '/boot/System.map-': No such file or directory > > cp: ne peut =C3=A9valuer `/usr/lib/fai/nfsroot/boot/vmlinuz-': Aucun > fichie= > > r > > ou r=C3=A9pertoire de ce type > > > > Here is files I have in the nfsroot/boot: > > config-2.6.16-fai-kernels memtest86+.bin patches-2.6.16-fai-kernels > > System.map-2.6.16-fai-kernels vmlinuz-2.6.16-fai-kernels > > > > So the problem is the capital "S" for "System.map-" and fai-setup > > searches without the capital "system.map-" > > What does your make-nfs-root.conf file contain? > (grep KERNEL /etc/fai/make-fai-nfsroot.conf) > > For me the capital "S" is not a problem... > > Here my nfsroot/boot directory (looks pretty much the same): > > /usr/lib/fai/dapper-nfsroot/boot# ll > total 1908 > -rw-r--r-- 1 root root 531144 Apr 9 02:44 System.map-2.6.16-fai-kernels > -rw-r--r-- 1 root root 32985 Apr 9 02:20 config-2.6.16-fai-kernels > -rw-r--r-- 1 root root 94760 Oct 25 2005 memtest86+.bin > -rw-r--r-- 1 root root 48 Apr 9 02:44 patches-2.6.16-fai-kernels > -rw-r--r-- 1 root root 1268112 Apr 9 02:44 vmlinuz-2.6.16-fai-kernels > > Make sure that on the install server the /boot/fai/vmlinux-install > (not in the nfsroot environment!!) is the same file as > /usr/lib/fai/nfsroot/boot/boot/vmlinuz-2.6.16-fai-kernels: > > ls1:/usr/lib/fai/dapper-nfsroot/boot# cmp vmlinuz-2.6.16-fai-kernels > /boot/fai/vmlinuz-install > ls1:/usr/lib/fai/dapper-nfsroot/boot# echo $? > 0 > > If "echo $?" gives something different than something is broken... > > Andreas
[EMAIL PROTECTED]:/etc/fai# grep KERNEL /etc/fai/make-fai-nfsroot.conf KERNELPACKAGE=/usr/lib/fai/kernel/linux-image-2.6.16-fai-kernels_1_i386.deb [EMAIL PROTECTED]:/usr/lib/fai/nfsroot/boot# cmp vmlinuz-2.6.16-fai-kernels /boot/fai/vmlinuz-install vmlinuz-2.6.16-fai-kernels /boot/fai/vmlinuz-install sont différents: octet 501, ligne 5 [EMAIL PROTECTED]:/usr/lib/fai/nfsroot/boot# echo $? 1 don't know what's the problem. I just downloaded fai-kernels-1.10.3 and installed it by "dpkg -i". Any idea to solve this problem ? Thanks, Xavier Claessens.
