setting up fai for the first time - no kernel image found

Michał Dwużnik michal.dwuznik at gmail.com
Sat Oct 15 23:02:06 CEST 2011


>> Hi,
>>
>> I'm trying to setup FAI for a test machine (KVM virtual machine,
>> managed from virt-manager)
>> in order to understand enough to deploy FAI for some 120 machines (of
>> 5 flavours) in faculty  computer rooms.
>>
>> fai-setup -v shows quite nice installation of ubuntu 10.04 to
>>  /srv/fai/nfsroot/live/filesystem.dir/
>
> I use the fai repo with debian squeeze and  use make-fai-nfsroot
> instead of fai-setup. When it is done downloading/debootstrapping
> everything, it sets both the vmlinuz as the initrd file in the
> $TFTPROOT indicated in /etc/fai/make-fai-nfsroot.conf.
>
> [knip]
>

No matter which method, the results stays the same...
the fai-chboot does that (pointing to correct kernel/initrd) just as good.

> check in your tftp server that those files are there. You should have
> both a vmlinuz.... as a initrd file with the same kernel version.
>

The files are there indeed, mystery solved:

/srv/tftp/fai$ls


 ls -la
-rw-r--r-- 1 fai  nogroup 14831030 2011-10-15 16:36 initrd.img-2.6.38-11-generic
lrwxrwxrwx 1 root root          21 2011-10-15 17:37 menu.c32 ->
pxelinux.cfg/menu.c32
-rw-r--r-- 1 fai  nogroup    26674 2011-10-12 08:34 pxelinux.0
drwxr-xr-x 2 fai  nogroup     4096 2011-10-15 19:57 pxelinux.cfg
-rw------- 1 fai  nogroup  4526784 2011-09-13 00:09 vmlinuz-2.6.38-11-generic

Somehow fai-setup sets too narrow permissions for vmlinuz...
fixing to -rw-r--r-- lets me boot.


Cheers
Michal


More information about the linux-fai mailing list