Newbie on FAI

Walter den Besten w.denbesten at nimbuzz.com
Sat Mar 15 08:29:59 CET 2008


That's fast.. ;-)

I am running the fai server on a Debian etch, 2.6.18-5.

Installed fai, version 3.1.8.
dpkg -l|grep fai
ii  fai-client                           
3.1.8                                    Fully Automatic Installation  
client package
ii  fai-doc                              
3.1.8                                    Documentation for FAI
ii  fai-kernels                         1.17+etch. 
18etch1                        special kernels for FAI (Fully  
Automatic Ins
ii  fai-server                           
3.1.8                                    Fully Automatic Installation  
server package

I did read the whole FAI guide, and installed a dhcp on the server  
machine.
I defined a host in /etc/hosts, named demohost, and ran faichboot -IFv  
demohost, after which I started up the machine.

The complete install is running, after which I have a machine, where  
it looks like the install was succesfull. However, when I reboot, the  
grub menu only shows the memtest86+ option.

A past of the shell.log file in /var/log/fai/demohost/last shows that  
grub only found that option

(hd0)   /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/ 
menu.lst
Searching for splash image ... none found, skipping ...
grep: /boot/config*: No such file or directory
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Grub installed on /dev/sda on (hd0,0)
mount: can't find /tmp/target/boot in /etc/fstab or /etc/mtab
GRUB/10-setup        FAILED with exit code 1.


The default classes for demohost are:
demohost)
         echo "FAIBASE DHCPC DEMO" ;;

According to the fai.log file, these are all the classes which are  
assigned: List of all classes:  DEFAULT LINUX AMD64 FAIBASE DHCPC DEMO  
GRUB demohost LAST
Find this error message:
Couldn't find any package whose name or description matched "linux- 
image-486"

Should I update that one, from package_config/FAIBASE to linux- 
image-2.6.18-5-amd64??

Walter


On 14 mrt 2008, at 19:21, Henning Sprang wrote:

> Hi Walter,
> Some question that will help to make helping you possible, and that  
> might gove you an iudea where to look at:
>
> Walter den Besten wrote:
>> [...]
>> Do I need to copy the linux kernel files to /boot manually onto the  
>> server?
>
> No
>
>> Or should that be one of the steps which should be in the demo files?
>
> Yes.
>
>> I can't find the place where that should happen.
>
> /boot should be filled with "normal" kernels from "normal" kernel  
> packages. A Kernel package should be specified for ionstalltion in  
> the example classes you are using.
>
> Which Version of FAI do you use?
> Which Host Distributions and version do you use?
> Which distribution are you installing?
> Which installation type are you using (network install/cd install/ 
> dirinstall)?
>
> Did you read the (whole) FAI Guide?
>
> What do you see in the installation log files?
> (I expect, there must be some error mentioned about problems when  
> installing the kernel, or, if you look at the classes that are  
> defined, you don't have any kernel specified to install for any o  
> the classes)
>
> Henning



More information about the linux-fai mailing list