newer fai kernel

Andreas Sindermann sinder at thp.Uni-Koeln.DE
Mon May 8 14:15:27 CEST 2006


Xavier Claessens writes:
 > 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
 > 
 > root at di-pc129:/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
 > 
 > root at di-pc129:/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
 > root at di-pc129:/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 ?

Copy /usr/lib/fai/nfsroot/boot/vmlinuz-2.6.16-fai-kernels:

$ cp /usr/lib/fai/nfsroot/boot/vmlinuz-2.6.16-fai-kernels /boot/fai/vmlinuz-install

Then it should work properly (I think). Perhaps you want to save
the original vmlinuz-install before.


To the developers: I'm wondering whether it would be nice that the
'fai-chboot' script would check by default whether
/boot/fai/vmlinuz-install is the appropiate boot-sector (perhaps a
naming problem) or not. Currently I'm trying to install both i386 and
amd64 architectures in parallel and often I forget to copy the correct
vmlinuz-install by hand so that the installation process doesn't start
properly...

Andreas



More information about the linux-fai mailing list