On Tuesday 26 February 2008 05:18:59 
[EMAIL PROTECTED] wrote:
> James kindly gave me his rpms for RHEL5. But unfortunately LTSP5 does
> not work.
>
> It gets the kernel and boots (so I assume dhcpd is configured OK)
> and then it stops with
>
> mount: Mounting /rofs on /root/rofs failed: Invalid argument
> cp: unable to open '/root/etc/': Is a directory
> mount: Mounting /root/dev on /dev/.static/dev failed: No such file or
> directory
> mount: Mounting /sys on /root/sys failed: No such file or directory
> mount: Mounting /proc on /root/proc failed: No such file or directory
> Target filesystem doesn't have /sbin/init


Since the rpm have built in dependancies unless you did --nodeps they are 
guarenteed to work (ie setup nbd correctly for xinet etc) so

1) You have a router that is answering the DHCP query or

2) tftp is not running. You need to setup that with Admin->services

3) Your DHCP is not configured correctly:

------ my dhcpd.conf
ddns-update-style             ad-hoc;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.5.255;
option routers                192.168.5.1;
option domain-name-servers    192.168.5.254;
option domain-name            "home";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


get-lease-hostnames           true;

next-server                   192.168.5.102;

subnet 192.168.5.0 netmask 255.255.255.0 {
    range   192.168.5.121   192.168.5.125;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/ltsp/i386/pxelinux.0";
    }
    else{
        filename "/ltsp/vmlinuz-2.6.20.9-ltsp-1";
    }

---- my xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, 
\
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /tftpboot
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

The RHEL rpm setup RHEL/CentOS *exactly* as an ubuntu-gutsy server, so if you 
can setup a running ubuntu-gutsy then the RH is the same.

---- The log
Feb 26 08:40:09 stm102 dhcpd: DHCPDISCOVER from 00:40:63:da:67:8d via eth0
Feb 26 08:40:10 stm102 dhcpd: DHCPOFFER on 192.168.5.123 to 00:40:63:da:67:8d 
vi
a eth0
Feb 26 08:40:11 stm102 dhcpd: DHCPREQUEST for 192.168.5.125 (192.168.5.254) 
from
 00:40:63:da:67:8d via eth0
Feb 26 08:40:11 stm102 dhcpd: DHCPACK on 192.168.5.125 to 00:40:63:da:67:8d 
via 
eth0
Feb 26 08:40:11 stm102 xinetd[2325]: START: tftp pid=2798 from=192.168.5.125
Feb 26 08:40:11 stm102 in.tftpd[2799]: tftp: client does not accept options 
Feb 26 08:40:25 stm102 dhcpd: DHCPDISCOVER from 00:40:63:da:67:8d via eth0
Feb 26 08:40:25 stm102 dhcpd: DHCPOFFER on 192.168.5.123 to 00:40:63:da:67:8d 
vi
a eth0
Feb 26 08:40:25 stm102 dhcpd: DHCPREQUEST for 192.168.5.123 (192.168.5.102) 
from
 00:40:63:da:67:8d via eth0
Feb 26 08:40:25 stm102 dhcpd: DHCPACK on 192.168.5.123 to 00:40:63:da:67:8d 
via 
eth0
Feb 26 08:40:25 stm102 xinetd[2325]: START: sieve pid=2813 from=192.168.5.123
Feb 26 08:44:18 stm102 kernel: Kernel logging (proc) stopped.
Feb 26 08:44:18 stm102 kernel: Kernel log daemon terminating.
Feb 26 08:44:19 stm102 exiting on signal 15
Feb 26 08:44:19 stm102 syslogd 1.4.1: restart (remote reception).
Feb 26 08:44:19 stm102 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 26 08:45:10 stm102 dhcpd: DHCPDISCOVER from 00:40:63:da:67:8d via eth0
Feb 26 08:45:11 stm102 dhcpd: DHCPOFFER on 192.168.5.123 to 00:40:63:da:67:8d 
vi
a eth0
Feb 26 08:45:12 stm102 dhcpd: DHCPREQUEST for 192.168.5.125 (192.168.5.254) 
from
 00:40:63:da:67:8d via eth0
Feb 26 08:45:12 stm102 dhcpd: DHCPACK on 192.168.5.125 to 00:40:63:da:67:8d 
via 
eth0
Feb 26 08:45:26 stm102 dhcpd: DHCPDISCOVER from 00:40:63:da:67:8d via eth0
Feb 26 08:45:26 stm102 dhcpd: DHCPOFFER on 192.168.5.123 to 00:40:63:da:67:8d 
vi
a eth0
Feb 26 08:45:26 stm102 dhcpd: DHCPREQUEST for 192.168.5.123 (192.168.5.102) 
from
 00:40:63:da:67:8d via eth0
Feb 26 08:45:26 stm102 dhcpd: DHCPACK on 192.168.5.123 to 00:40:63:da:67:8d 
via 
eth0
---------------------------
now the client starts
---------------------------
Feb 26 08:45:26 stm102 xinetd[2325]: START: sieve pid=2861 from=192.168.5.123
Feb 26 08:45:33 pos03 syslogd 1.4.1#21ubuntu3: restart. 
Feb 26 08:45:41 pos03 kernel: Inspecting /boot/System.map-2.6.22-14-386
Feb 26 08:45:47 pos03 kernel: Loaded 24903 symbols 
from /boot/System.map-2.6.22-
14-386. 
Feb 26 08:45:47 pos03 kernel: Symbols match kernel version 2.6.22

bla bla

----------------------------------------------------------
ldm logging (I changed LDM to log to syslog
---------------------------------------------------------
Feb 26 08:46:04 pos03 ldm: [ldm] Spawning greeter: /usr/bin/ldmgtkgreet 
Feb 26 08:46:04 pos03 ldm: [spawn_greeter] cmdline:/usr/bin/ldmgtkgreet  
Feb 26 08:46:04 pos03 ldm: [greeter] get_userid 
Feb 26 08:46:04 pos03 ldm: [get_greeter_string] [256] ""

And up n away
James

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to