Serveur pour boot PXE

Pierrick Couturier arofarn at free.fr
Dim 25 Sep 15:18:23 UTC 2005


Salut,

Je suis en plein dans le montage d'un système LTSP mais j'ai un soucis
lors du boot. Le client boote correctement,
jusqu'au moment ou je tombe sur une erreur:

[...]
IP-Config: eth0 complete (from 192.168.1.1):
 address: 192.168.1.10   broadcast: 192.168.1.255   netmask: 255.255.255.0
 gateway: 192.168.1.1   dns0: 212.27.54.252   dns1: 212.27.39.134
 rootserver: 192.168.0.10   rootpath: 192.168.0.10:/opt/ltsp/i386/
Begin: Running /scripts/nfs-premount ...
Done.
nfsmount: need a path
Begin: Running /scripts/nfs-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or
directory
mount: Mounting /dev on /root/dev failed: No such file or directory
Target filesystem doesn't have /sbin/init

Ensuite je me retrouve avec un BusyBox (shell très limité)

Donc le système de fichier est bien monté à distance, mais il n'arrive
pas à continuer plus avant par manque de "/root/dev" et "/dev"

En cherchant un peu, j'ai vu que les /scripts/nfs-premount,
/scripts/nfs-bottom ... était en fait des répertoires vide (!?!?!?)
présent dans /usr/share/initramfs-tools/ et /etc/mkinitramfs/ aussi bien
à la racine du serveur qu'a la racine du ltsp (/opt/ltsp/i386):

 # ll -a `locate init-bottom`
/etc/mkinitramfs/scripts/init-bottom:
total 8
drwxr-xr-x   2 root root 4096 Sep 17 23:10 .
drwxr-xr-x  11 root root 4096 Sep 18 03:17 ..

/opt/ltsp/i386/etc/mkinitramfs/init-bottom:
total 8
drwxr-xr-x   2 root root 4096 Sep  1 06:42 .
drwxr-xr-x  11 root root 4096 Sep 17 12:03 ..

/opt/ltsp/i386/usr/share/initramfs-tools/scripts/init-bottom:
total 8
drwxr-xr-x   2 root root 4096 Aug 16 19:21 .
drwxr-xr-x  11 root root 4096 Sep 17 12:01 ..

/usr/share/initramfs-tools/scripts/init-bottom:
total 8
drwxr-xr-x   2 root root 4096 Aug 16 19:21 .
drwxr-xr-x  11 root root 4096 Sep 24 12:29 ..


Là mes faible connaissance sur le déroulement du boot de linux ne me
permettent pas de continuer plus loin. Si quelqu'un a une idée...

Le serveur est sous Ubuntu "Breezy Badger" et j'ai suivi le tuto LTSP du
wiki d'Ubuntu sur les clients légers.


@+


Pierrick Couturier







Plus d'informations sur la liste de diffusion ubuntu-fr