Boot PXE rien ne se passe

Ici le projet de virtualisation de postes de travail et de VDI (Virtual Desktop Infrastructure)

Boot PXE rien ne se passe

New postby guidtz » Sat Nov 06, 2010 2:36 pm

Hello,

suite à ta correction pour l'ajout de machines j'ai bien rajouté mon poste client. J'ai bien fait
=> "Ajouter un client légé" en choisissant ma nouvelle machine
=> Paramétré ma session pour cette machine :
session_client_lege.png
session_client_lege.png (25.84 KiB) Viewed 8292 times

=> "Compile PXE system" :
Code: Select all
Compiling 43 drivers and 13 packages
saving build.conf done...
Building thinclient asus 00:18:f3:9e:a2:5a
Checking for required commands... OK
Symbolic Links Ok
+ Building image:
Module: pcmcia_core
Module: serial_core
Module: button
Module: agpgart
Module: 3c501
Module: 3c503
Module: 3c505
Module: 3c507
Module: 3c509
Module: 3c515
Module: 3c59x
Module: 8139cp
Module: 8139too
Module: ac3200
Module: amd8111e
Module: at1700
Module: ata_piix
Module: atl2
Module: b44
Module: cs89x0
Module: de2104x
Module: de4x5
Module: e1000
Module: ext2
Module: ext3
Module: forcedeth
Module: ide-cd
Module: isofs
Module: nfs
Module: ntfs
Module: pcnet32
Module: r8101
Module: r8168
Module: r8169
Module: sis900
Module: smbfs
Module: supermount
Module: sr_mod
Module: usbhid
Module: usb-storage
Module: vfat
Module: via-rhine
Package: hwclock
Package: keymaps-en_us
Package: keymaps-fr
Package: rdate
Package: rdesktop
Package: xorg6-i810
Package: xorg6-nv
Package: xorg6-radeon
Package: xorg6-s3
Package: xorg6-trident
Package: xorg6-vesa
Package: xorg6-via
Package: xorg6-vmware
Package: bootlogo
Package: bootresolution
Package: defaultconfig
Package: basename
Package: basepath
Package: localpkgs
Package: fulllocales
Package: icaencryption
Package: bootverbosity
Adding package module dependencies
Package: acpi
Package: nfs
Package: pcmcia
Package: samba-base
Package: smbfs
Adding and install non-distributable binaries
Adding Package Dependencies
Adding Dependent package Packages for acpi
Packages package base
Adding Dependent package Packages for hwclock
Adding Dependent package Packages for keymaps-en_us
Adding Dependent package Packages for keymaps-fr
Adding Dependent package Packages for nfs
Adding Dependent package Packages for pcmcia
Adding Dependent package Packages for rdate
Adding Dependent package Packages for rdesktop
Packages package messagebox
Adding Dependent package Packages for samba-base
Adding Dependent package Packages for smbfs
Adding Dependent package Packages for xorg6-i810
Packages package xorg6
Adding Dependent package Packages for xorg6-nv
Adding Dependent package Packages for xorg6-radeon
Adding Dependent package Packages for xorg6-s3
Adding Dependent package Packages for xorg6-trident
Adding Dependent package Packages for xorg6-vesa
Adding Dependent package Packages for xorg6-via
Adding Dependent package Packages for xorg6-vmware
Adding Dependent package Packages for xorg6
Packages package x-common
Adding Dependent package Packages for messagebox
Adding Dependent package Packages for base
Adding Dependent package Packages for x-common
Packages package setnumlock
Adding Dependent package Packages for setnumlock
Adding Packages to Filetree
Setting Passwords
Setting basepath
Checking for Key File
Checking for Desktop background
Checking for Known Hosts File
Checking for ICA encryption support
Checking for Debug Verbosity
Checking for Halt on Error Override
Checking if extended locale support is enabled
Coping extended x-common to inbuilt image
Coping extended base to inbuilt image
Coping extended rdesktop to inbuilt image
Adding Library Dependencies
Adding libc.so.6 dependency in tmp-tree for acpid
Adding ld-linux.so.2 dependency in tmp-tree for acpid
Adding libcrypt.so.1 dependency in tmp-tree for busybox
Adding libcrypto.so.0.9.8 dependency in tmp-tree for rdesktop-1.6.0
Adding libpcsclite.so.1 dependency in tmp-tree for rdesktop-1.6.0
Adding libpthread.so.0 dependency in tmp-tree for rdesktop-1.6.0
Adding libdl.so.2 dependency in tmp-tree for rdesktop-1.6.0
Adding libX11.so.6 dependency in tmp-tree for rdesktop-1.6.0
Adding libz.so.1 dependency in tmp-tree for rdesktop-1.6.0
Adding libXau.so.6 dependency in tmp-tree for rdesktop-1.6.0
Adding libXdmcp.so.6 dependency in tmp-tree for rdesktop-1.6.0
Adding libXtst.so.6 dependency in tmp-tree for setnumlock
Adding libXext.so.6 dependency in tmp-tree for setnumlock
Adding libresolv.so.2 dependency in tmp-tree for smbmount
Adding libnsl.so.1 dependency in tmp-tree for smbmount
Adding libXmuu.so.1 dependency in tmp-tree for xauth
Adding libm.so.6 dependency in tmp-tree for Xorg
Adding libgcc_s.so.1 dependency in tmp-tree for Xorg
Adding libXxf86misc.so.1 dependency in tmp-tree for xset
Adding libXp.so.6 dependency in tmp-tree for xset
Adding libXaw.so.6 dependency in tmp-tree for xwChoice
Adding libXt.so.6 dependency in tmp-tree for xwChoice
Adding libSM.so.6 dependency in tmp-tree for xwChoice
Adding libICE.so.6 dependency in tmp-tree for xwChoice
Adding libXmu.so.6 dependency in tmp-tree for libXaw.so.6
Building dependencies for Modules...
Adding dependency in tmp-tree for module 3c501.ko
Adding dependency in tmp-tree for module 3c503.ko
Adding dependency in tmp-tree for module 3c505.ko
Adding dependency in tmp-tree for module 3c507.ko
Adding dependency in tmp-tree for module 3c509.ko
Adding dependency in tmp-tree for module 3c515.ko
Adding dependency in tmp-tree for module 3c59x.ko
Adding dependency in tmp-tree for module 8139cp.ko
Adding dependency in tmp-tree for module 8139too.ko
Adding dependency in tmp-tree for module ac3200.ko
Adding dependency in tmp-tree for module agpgart.ko
Adding dependency in tmp-tree for module amd8111e.ko
Adding dependency in tmp-tree for module at1700.ko
Adding dependency in tmp-tree for module ata_piix.ko
Adding dependency in tmp-tree for module atl2.ko
Adding dependency in tmp-tree for module b44.ko
Adding dependency in tmp-tree for module button.ko
Adding dependency in tmp-tree for module cs89x0.ko
Adding dependency in tmp-tree for module de2104x.ko
Adding dependency in tmp-tree for module de4x5.ko
Adding dependency in tmp-tree for module e1000.ko
Adding dependency in tmp-tree for module ext2.ko
Adding dependency in tmp-tree for module ext3.ko
Adding dependency in tmp-tree for module forcedeth.ko
Adding dependency in tmp-tree for module ide-cd.ko
Adding dependency in tmp-tree for module isofs.ko
Adding dependency in tmp-tree for module nfs.ko
Adding dependency in tmp-tree for module ntfs.ko
Adding dependency in tmp-tree for module pcmcia_core.ko
Adding dependency in tmp-tree for module pcnet32.ko
Adding dependency in tmp-tree for module r8101.ko
Adding dependency in tmp-tree for module r8168.ko
Adding dependency in tmp-tree for module r8169.ko
Adding dependency in tmp-tree for module serial_core.ko
Adding dependency in tmp-tree for module sis900.ko
Adding dependency in tmp-tree for module smbfs.ko
Adding dependency in tmp-tree for module sr_mod.ko
Adding dependency in tmp-tree for module supermount.ko
Adding dependency in tmp-tree for module usbhid.ko
Adding dependency in tmp-tree for module usb-storage.ko
Adding dependency in tmp-tree for module vfat.ko
Adding dependency in tmp-tree for module via-rhine.ko
Adding dependency in tmp-tree for module usbcore.ko
Adding dependency in tmp-tree for module sunrpc.ko
Adding dependency in tmp-tree for module scsi_mod.ko
Adding dependency in tmp-tree for module jbd.ko
Adding dependency in tmp-tree for module libata.ko
Adding dependency in tmp-tree for module lockd.ko
Adding dependency in tmp-tree for module mbcache.ko
Adding dependency in tmp-tree for module fat.ko
Adding dependency in tmp-tree for module cdrom.ko
Adding dependency in tmp-tree for module 8390.ko
Adding module dependencies on other modules not picked up by depmod
Module : ac
Module : battery
Module : fan
Module : processor
Module : thermal
Module : video
Module : 8250
Module : 8250_pci
Module : 8250_pnp
Module : ehci-hcd
Module : ohci-hcd
Module : uhci-hcd
Module : sd_mod
Module : nls_cp850
Module : nls_iso8859-1
Adding module dependencies on other packages
Package : hwclock Module: rtc
Package : xorg6 Module: evdev
Checking for additional dependencies for Modules...
Adding dependency in tmp-tree for module ac.ko
Adding dependency in tmp-tree for module battery.ko
Adding dependency in tmp-tree for module fan.ko
Adding dependency in tmp-tree for module processor.ko
Adding dependency in tmp-tree for module thermal.ko
Adding dependency in tmp-tree for module video.ko
Adding dependency in tmp-tree for module 8250.ko
Adding dependency in tmp-tree for module 8250_pci.ko
Adding dependency in tmp-tree for module 8250_pnp.ko
Adding dependency in tmp-tree for module ehci-hcd.ko
Adding dependency in tmp-tree for module ohci-hcd.ko
Adding dependency in tmp-tree for module uhci-hcd.ko
Adding dependency in tmp-tree for module sd_mod.ko
Adding dependency in tmp-tree for module nls_cp850.ko
Adding dependency in tmp-tree for module nls_iso8859-1.ko
Adding dependency in tmp-tree for module rtc.ko
Adding dependency in tmp-tree for module evdev.ko
Building Sample Thinstation.conf File
Advanced Configuration and Power Interface support enabled
Adding contributed files
Building PKG Packages
Building Module PKG Packages
Making root squashfs filesystem
Found a valid SQUASHFS superblock on boot-images/initrd/initrd.
Inodes are compressed
Data is compressed
Fragments are compressed
Check data is not present in the filesystem
Fragments are present in the filesystem
Always_use_fragments option is not specified
Duplicates are removed
Filesystem size 0.40 Kbytes (0.00 Mbytes)
Block size 65536
Number of fragments 0
Number of inodes 16
Number of uids 1
Number of gids 0
Scanning existing filesystem...
Read existing filesystem, 15 inodes scanned
Appending to existing little endian 3.0 filesystem on boot-images/initrd/initrd, block size 65536
All -be, -le, -b, -noI, -noD, -noF, -check_data, no-duplicates, no-fragments, -always-use-fragments and -2.0 options ignored
If appending is not wanted, please re-run with -noappend specified!
Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 6549.81 Kbytes (6.40 Mbytes)
45.70% of uncompressed filesystem size (14331.14 Kbytes)
Inode table size 5076 bytes (4.96 Kbytes)
34.83% of uncompressed inode table size (14572 bytes)
Directory table size 4281 bytes (4.18 Kbytes)
66.85% of uncompressed directory table size (6404 bytes)
Number of duplicate files found 6
Number of inodes 455
Number of files 279
Number of fragments 69
Number of symbolic links 110
Number of device nodes 14
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 52
Number of uids 1
root (0)
Number of gids 0
+ Converting boot/bootsplash-1024x768.jpg to 16bit colour
+ Converting boot/bootsplash-640x480.jpg to 16bit colour
+ Converting boot/bootsplash-800x600.jpg to 16bit colour
+ Converting boot/silent-1024x768.jpg to 16bit colour
+ Converting boot/silent-640x480.jpg to 16bit colour
+ Converting boot/silent-800x600.jpg to 16bit colour
+ Adding splash boot logo
Making boot image for loadlin Type....
Making boot image for syslinux Type....
Making boot image for pxe Type....
Making boot image for iso Type....
Size of boot image is 4 sectors -> No emulation
Total translation table size: 2048
Total rockridge attributes bytes: 574
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
3936 extents written (7 Mb)
Making boot image for nbi Type....
Notes about build:
Build Complete!


Mais quand je démarre mon poste client rien ne se passe côté PXE.

J'ai cherché un peu sur le serveur mais le seul répertoire qui peut correspondre à du boot pxe est /opt/thinstation/boot-images/pxe mais dedans aucune référence au paramétrage pour ma machine.

Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Boot PXE rien ne se passe

New postby admin » Sat Nov 06, 2010 7:47 pm

tu dois paramètrer ton DHCP pour pointer sur /pxe/pxelinux.0
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Boot PXE rien ne se passe

New postby guidtz » Sun Nov 07, 2010 2:45 am

yes sauf que je n'ai pas de répertoire /pxe sur ma machine.

J'ai essayé en faisant pointer vers /opt/thinstation/boot-images/pxe mais le seul fichier de conf de démarrage est default :

Code: Select all
default linux
prompt 0

label linux
  kernel vmlinuz
  append ramdisk_blocksize=4096 initrd=initrd root=/dev/ram0 ramdisk_size=524288 console=ttyS3 splash=silent vga=788


qui n'amène a rien au démarrage

Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Boot PXE rien ne se passe

New postby admin » Sun Nov 07, 2010 10:45 am

artica fais ceci :

Code: Select all
cd /opt/thinstation && ./build
cp -rf boot-images/pxe/* /var/lib/tftpboot/pxe/


est-ce que cela marche quand tu le tapes en direct
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Boot PXE rien ne se passe

New postby guidtz » Sun Nov 07, 2010 7:52 pm

Le build à l'air de se passer.

Par contre :
Code: Select all
# cp -rf boot-images/pxe/* /var/lib/tftpboot/pxe
cp: la cible `/var/lib/tftpboot/pxe' n'est pas un répertoire


De plus par la suite pour que la machine cliente démarre, il faudrait que dans pxelinux.cfg il se trouve un fichier de boot pour la machine avec un nom correspondant à l'adresse MAC de la machine.

Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Boot PXE rien ne se passe

New postby admin » Sun Nov 07, 2010 9:42 pm

j'ai rajouté le mkdir (un oubli de ma part);
fais le

Code: Select all
mkdir -p /var/lib/tftpboot/pxe


thinclient ne marche pas comme ca, il faut créer un fichier /var/lib/tftpboot/thinstation.conf-MAC ce que fait Artica (mais comme le rép n'existait pas).
thinclient va charger ce fichier afin de créer les paramètres.
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Boot PXE rien ne se passe

New postby guidtz » Mon Nov 08, 2010 8:28 pm

Alors je suis passé sur la 110800.

Le répertoire /var/lib/tftpboot est bien créé. Voici son contenu
Code: Select all
/var/lib/tftpboot# tree
.
`-- pxe
    |-- dhcpd.sample
    |-- initrd
    |-- pxelinux.0
    |-- pxelinux.cfg
    |   |-- default
    |   `-- default.tpl
    |-- pxelinux.txt
    `-- vmlinuz


Je ne trouve pas de fichier thinstation.conf-MAC

Pour le moment si je démarre le poste client j'ai les erreurs suivantes :
Code: Select all
PXE-T02 : Access Violation
PXE-E3C : TFTPERROR - Access Violation
PXE-M0F : Exiting PXE ROM


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Boot PXE rien ne se passe

New postby admin » Mon Nov 08, 2010 10:06 pm

hum... t'es sur du tftp ?
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Boot PXE rien ne se passe

New postby admin » Mon Nov 08, 2010 10:06 pm

hum... t'es sur du tftp ?
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Boot PXE rien ne se passe

New postby guidtz » Tue Nov 09, 2010 2:16 am

c'est à dire ?
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Next

Return to Virtualisation - VDI

Who is online

Users browsing this forum: No registered users and 1 guest

cron