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

Michał Dwużnik michal.dwuznik at gmail.com
Sat Oct 15 20:43:53 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/

dhcp for 'demohost' is configured to give it 192.168.100.150
(same in /etc/hosts),

dhcpd.conf entry:
host demohost {
hardware ethernet 52:54:00:cf:b8:2c;
fixed-address 192.168.100.150;
filename "pxelinux.0";
}


$ sudo fai-chboot  -Iv demohost
Booting kernel vmlinuz-2.6.38-11-generic
 append initrd=initrd.img-2.6.38-11-generic ip=dhcp
demohost has 192.168.100.150 in hex C0A86496
Writing file /srv/tftp/fai/pxelinux.cfg/C0A86496 for demohost

Yet booting fails to find kernel:

[virtio-net]I/O address 0x0000c060,  IRQ #11
MAC address 52:54:00:CF:B8:2C
Searching for server (DHCP).....
Me: 192.168.100.150, DHCP: 192.168.100.1, TFTP: 192.168.100.1
Loading 192.168.100.1:/pxeIinux.0    (PXE)              .done

PXELINUX 4.02 debian-20101016  Copyright (C) 1994-2010 H. Peter Anvin et aI
!PXE entry point found (we hope) at 9D00:0680 via pIan A
UNDI code segment at 9D00 Ien 0AAD
UNDI data segment at 9C00 Ien 1000
Getting cached packet  01 02 03
My IP address seems to be C0A86496 192.168.100.150
ip=192.168.100.150:192.168.100.1:0.0.0.0:255.255.255.0
BOOTIF=01-52-54-00-cf-b8-2c
TFTP prefix: /
Trying to Ioad: pxeIinux.cfg/C0A86496                        ok
CouId not find kerneI image: vmIinuz-2.6.38-11-generic
boot:_


Just in case:
$cat /srv/tftp/fai/pxelinux.cfg/C0A86496

# generated by fai-chboot for host demohost with IP 192.168.100.150
default fai-generated

label fai-generated
kernel vmlinuz-2.6.38-11-generic
append initrd=initrd.img-2.6.38-11-generic ip=dhcp  root=/dev/nfs
nfsroot=/srv/fai/nfsroot boot=live   FAI_ACTION=install


Can you see some important step I missed?

Regards
Michal


More information about the linux-fai mailing list