[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fai
Subject:    Re: setting up fai for the first time - no kernel image found
From:       Michał Dwużnik <michal.dwuznik () gmail ! com>
Date:       2011-10-15 21:02:06
Message-ID: CAGS3rEqZY8TQEL3tnsMCgRDTkWs8MQyf0th2WN44Ec+6QehJ+A () mail ! gmail ! com
[Download RAW message or body]

>> 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 =C2=A0computer rooms.
>>
>> fai-setup -v shows quite nice installation of ubuntu 10.04 to
>> =C2=A0/srv/fai/nfsroot/live/filesystem.dir/
>
> I use the fai repo with debian squeeze and =C2=A0use 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-ge=
neric
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-gener=
ic

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


Cheers
Michal

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic