configuration to boot from network card

antares atlantide antares.atlantide at hotmail.fr
Fri Nov 9 13:59:32 CET 2007



>First of all, which FAI version are you using? The configuration and logs 
>that
>you provided are that of a fairly ancient version of FAI.
>
>In versions >= 3.2 you should definitely be able to simply install
>fai-quickstart and run fai-setup, or simply follow the quickstart tutorial 
>in
>the FAI guide - but again, get yourself a current version of the FAI guide.
>
>Hope this helps,
>Michael
>
>
root at tlon:/srv/fai/nfsroot/bin# dpkg -l | grep fai
ii  fai-client                        3.2.1                               
Fully Automatic Installation client package
ii  fai-doc                           3.2.1                               
Documentation for FAI
ii  fai-kernels                       1.17+etch5                          
special kernels for FAI (Fully Automatic Installation)
ii  fai-server                        3.2.1

I am gradually i have now this pb

1-- on server dhcp
Nov  9 13:15:17 tlon dhcpd: DHCPREQUEST for 10.10.0.131 from 
00:14:22:28:da:09 via eth0
Nov  9 13:15:17 tlon dhcpd: DHCPACK on 10.10.0.131 to 00:14:22:28:da:09 via 
eth0
Nov  9 13:15:18 tlon mountd[3192]: authenticated mount request from 
atlantis:919 for /srv/fai/nfsroot (/srv/fai/nfsroot)
Nov  9 13:15:18 tlon mountd[3192]: refused unmount request from atlantis for 
/root (/): not exported

2- on client
Begin: Running /scripts/nfs-premount ...
Done
after few minutes
mount : Mounting /sys on /root/sys failed: No such file ...
mount : Mounting /proc on /root/proc failed: No such file ...
Target filesystem doesn't have /sbin/init.

############ My conf

my server = tlon,  my client =atlantis

root at tlon:/srv/fai/nfsroot/bin# cat /etc/exports
#
/srv/fai/config 10.10.0.0/255.255.0.0(async,ro,no_subtree_check)
/srv/fai/nfsroot 
10.10.0.0/255.255.0.0(async,ro,no_subtree_check,no_root_squash)

root at tlon:~# 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:


.failocal:\
        :tc=.faiglobal:\
        :sa=tlon:\
        :ts=tlon:\
        :T172="sshd verbose createvt":\
        :T171="sshd":\
        :sm=255.255.0.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:~# 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 root-path 
"10.10.0.143:/srv/fai/nfsroot,rsize=8192,wsize=8192,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800";
#########
  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/fai/nfsroot# ls -l
total 28
drwxr-xr-x 2 root root 4096 2007-10-25 13:49 bin
drwxr-xr-x 2 root root 4096 2007-09-24 12:37 debootstrap
drwxr-xr-x 2 root root 4096 2007-06-23 03:20 dev
drwxr-xr-x 3 root root 4096 2007-09-24 12:37 etc
drwxr-xr-x 3 root root 4096 2007-10-12 08:56 live
drwxr-xr-x 3 root root 4096 2007-09-24 12:36 tempo
drwxr-xr-x 4 root root 4096 2007-09-24 12:36 var
root at tlon:/srv/fai/nfsroot# cd live/
root at tlon:/srv/fai/nfsroot/live# ls -l
total 4
drwxr-xr-x 20 root root 4096 2007-10-26 12:48 filesystem.dir
root at tlon:/srv/fai/nfsroot/live# cd ..
root at tlon:/srv/fai/nfsroot# cd ..
root at tlon:/srv/fai# cd config/
root at tlon:/srv/fai/config# ls -l
total 28
drwxr-xr-x 2 root root 4096 2007-09-20 13:12 class
drwxr-xr-x 2 root root 4096 2007-09-21 11:11 debconf
drwxr-xr-x 2 root root 4096 2007-09-20 12:17 disk_config
drwxr-xr-x 4 root root 4096 2007-08-08 11:13 files
drwxr-xr-x 2 root root 4096 2007-08-08 11:13 hooks
drwxr-xr-x 2 root root 4096 2007-09-20 14:21 package_config
drwxr-xr-x 9 root root 4096 2007-08-08 11:13 scripts


Best regards antares

_________________________________________________________________
Découvrez le Blog heroic Fantaisy d'Eragon! 
http://eragon-heroic-fantasy.spaces.live.com/


More information about the linux-fai mailing list