configuration to boot from network card
antares atlantide
antares.atlantide at hotmail.fr
Thu Nov 8 12:44:17 CET 2007
Hi,
This my configuration, but i don't have this message from ref : page 13
Manuel d'utilisation FAI version 2.4.3 2000-04
when the client machine are booting from network card. I havbe got the
normal GUI where we type linux and return. Could you help me in my
configuration ?
######## My configuration
root at tlon:/srv# ls -l fai
total 8
drwxr-xr-x 9 root root 4096 2007-08-08 15:29 config
drwxr-xr-x 9 root root 4096 2007-10-12 08:56 nfsroot
root at tlon:/srv# ls -l tftp/
total 12
drwxr-xr-x 4 root root 4096 2007-11-08 11:22 fai
root at tlon:/srv/tftp/fai# ls -l
total 9196
drwxr-xr-x 3 root root 4096 2007-03-10 10:54 debian-installer
-rw-r--r-- 1 root root 5067077 2007-10-26 12:49 initrd.img-2.6.18-5-486
-rw-r--r-- 1 root root 1542144 2007-10-25 11:32 installimage
lrwxrwxrwx 1 root root 32 2007-10-18 13:45 pxelinux.0 ->
debian-installer/i386/pxelinux.0
lrwxrwxrwx 1 root root 34 2007-10-18 13:45 pxelinux.cfg ->
debian-installer/i386/pxelinux.cfg
drwxr-xr-x 3 root root 4096 2007-10-25 14:00 utils
-rw-r--r-- 1 root root 1536832 2007-10-25 11:31 vmlinuz-install
root at tlon:/srv/tftp/fai# cat /etc/dhcpd.conf
# dhcpd.conf for fai
# replace faiserver with the name of your install server
deny unknown-clients;
option dhcp-max-message-size 2048;
use-host-decl-names on;
#always-reply-rfc1048 on;
allow booting;
allow bootp;
subnet 10.10.0.0 netmask 255.255.0.0 {
option routers 10.10.0.1;
# option domain-name "beowulf";
# sow
# option-171 "install";
# option-172 "verbose, createvt, sshd";
# option root-path "/srv/fai/nfsroot";
#########
option domain-name-servers 10.10.0.11;
option time-servers lipn-sf1;
option ntp-servers lipn-sf1;
server-name "tlon";
# next-server "tlon";
# filename "/tftpboot/pxelinux.0";
filename "/srv/tftp/fai/pxelinux.0";
}
# perl -ane ' {print "host atom {hardware ethernet $1;fixed-address
atom}";}'
host atlantis {hardware ethernet 00:14:22:28:DA:09;fixed-address atlantis;}
root at tlon:/srv/tftp/fai# cat /etc/bootptab
# /etc/bootptab example for FAI
# replace FAISERVER with the name of your install server
.faiglobal:\
:ms=1024:\
:hd=/srv/tftp/fai:\
:hn:bs=auto:\
:rp=/srv/fai/nfsroot:
# rp: the nfsroot on the install server
# your local values
#
# sa: your tftp server (install server)
# ts: your timeserver (time enabled in inetd.conf)
# T170: location of FAI configuration directory. Not used any more here.
# T171: FAI_ACTION. Not used any more here.
# T172: FAI_FLAGS, e.g. verbose, debug, reboot, sshd
# T173: reserved for future use
# sm: subnet mask
# gw: router/gateway address
# dn: domainname
# ds: list of nameservers
# these are optional
# ys: NIS server
# yd: NIS domainname
# nt: list of NTP servers
.failocal:\
:tc=.faiglobal:\
:sa=tlon:\
:ts=tlon:\
:T172="sshd verbose createvt":\
:sm=255.255.255.0:\
:gw=10.10.0.1:\
:dn=lipn.univ-paris13.fr:\
:ds=10.10.0.11:\
# :ys=rubens:yd=informatik4711.YP:\
# :nt=time.rrz.uni-koeln.de,time2.rrz.uni-koeln.de:
# now one entry for each install client
#bigfoot:ha=0x00103B240012:bf=bigfoot:tc=.failocal:T172="verbose createvt
sshd debug ":
#ant01:ha=0x00105A000000:bf=ant01:tc=.failocal:T172="sshd":
atlantis:ha=0x00142228DA09:bf=atlantis:tc=.failocal:T172="verbose createvt
sshd debug":
selena:ha=0x0014224ddf75:bf=selena:tc=.failocal:T172="sshd":
root at tlon:/srv/tftp/fai# cat /etc/pxe.conf
# which interface to use
interface=eth0
default_address=10.10.0.143
# the multicast ip address to listen on
##################multicast_address=10.10.0.0-255
# mtftp info
mtftp_address=10.10.0.143
mtftp_client_port=1758
mtftp_server_port=1759
# the port to listen on
listen_port=4011
# enable multicast?
#use_multicast=1
# enable broadcast?
use_broadcast=0
# user prompt
prompt=Press F8 to view menu ...
prompt_timeout=10
# what services to provide, priority in ordering
# CSA = Client System Architecture
# service=<CSA>,<min layer>,<max layer>,<basename>,<menu entry>
service=X86PC,0,0,local,Local boot
service=X86PC,0,0,pxelinux,PXELinux
# tftpd base dir
tftpdbase=/srv/tftp/fai
#tftpdbase=/tftpboot/
# domain name
domain=lipn.univ-paris13.fr
###########ref : page 13 Manuel d'utilisation FAI version 2.4.3 2000-04
Managed PC Boot Agent (MBA) v4.00
.
.
Pre-boot eXecution Environment (PXE) v2.00
.
.
DHCP MAC ADDR: 00 04 75 74 A2 43
DHCP.../
CLIENT IP: 192.168.1.12 MASK: 255.255.255.0 DHCP IP: 192.168.1.250
GATEWAY IP: 192.168.1.254
PXELINUX 2.04 (Debian, 2004-06-24) Copyright (C) 1994-2003 H. Peter Anvin
UNDI data segment at: 0009D740
UNDI data segment size: 3284
UNDI code segment at: 00090000
UNDI code segment size: 24C0
PXE entry point found (we hope) at 9D74:00F6
My Ip address seems to be C0A801C0 192.168.1.12
ip=192.168.1.150:192.168.1.250:192.168.1.254:255.255.255.0
TFTP prefix:
Trying to load pxelinnux.cfg/00-04-75-74-A2-43
Trying to load pxelinnux.cfg/C0A801C0
Loading vmlinuz-install.....................Ready.
Uncompressing Linux... OK, booting the Kernel.
Linux version 2.4.26 (root at kueppers) (gcc version 2.95.4 20011002
.
.
.
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.250, my address is 192.168.1.12
IP-Config: Complete:
device=eth0, addr=192.168.1.12, mask=255.255.255.0, gw=192.168.1.254,
host=demohost, domain=localdomain, nis-domain=(none),
bootserver=192.168.1.250, rootserver=192.168.1.250,
rootpath=/usr/lib/fai/nfsroot,rw,rsize=8192,wsize=8192,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800
Looking up port of RPC 1000003/2 on 192.168.1.250
Looking up port of RPC 1000005/1 on 192.168.1.250
VFS: Mounted root (nfs filesystem).
.
.
-----------------------------------------------------
Fully Automatic Installation for Debian GNU/Linux
FAI 2.6, 26 july 2004
Thomas Lange <lange at informatik.uni-koeln.de>
-----------------------------------------------------
Calling task_confdir
Kernel parameters: ip=dhcp devfs=nomount FAI_ACTION=install root=/dev/nfs
FAI_FLAGS=verbose,sshd,createvt,syslogd BOOT_IMAGE=vmlinuz-install
Defining variable: ip=dhcp
Defining variable: devfs=nomount
Defining variable: FAI_ACTION=install
Defining variable: root=/dev/nfs
Defining variable: FAI_FLAGS=verbose,sshd,createvt,syslogd
Defining variable: BOOT_IMAGE=vmlinuz-install
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose=1
FAI_FLAGS: sshd=1
FAI_FLAGS: createvt=1
FAI_FLAGS: syslogd=1
Configuration space /fai mounted from faiserver:/usr/local/share/fai
Monitoring to server faiserver enabled.
Calling task_setup
.
.
Calling task_defclass
/usr/bin/fai-class: Defining classes.
.
.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!
.
.
Disable swap device /dev/hda5
Sun Jul 25 22:10:26 CEST 2004
The installation took 296 seconds.
Calling task_chboot
Calling hook: savelog.LAST
ERRORS found in log files. See /tmp/fai/error.log.
savelog.LAST OK.
Calling task_savelog
Save log files via rsh to fai at faiserver:demohost/install-20040725_220535
Calling task_faiend
Press <RETURN> to reboot or ctrl-c to execute a shell
_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC !
http://www.windowslive.fr/liveonecare/default.asp
More information about the linux-fai
mailing list