[EMAIL PROTECTED] schrieb:

When ever my client boots i get the following error messages,

"Mounting root filesystem: /opt/ltsp/i386 from 192.168.0.1
(null)mount: nfs mount failed: Bad file number
NFS: mount program didn't pass remote address!
mount: Mounting 192.168.0.1:/opt/ltsp/i386 on /mnt failed: Invalid argument

ERROR! Failed to mount the root directory via NFS!

Possible reasons include:

        1) NFS services may not be running on the server
        2) Workstation IP does not map to a hostname, either in /etc/hosts or in DNS
        3) Wrong address for NFS server in the DHCP config file
        4) Wrong pathname for root directory in the DHCP config file

Kernel panic: Attempted to kill init!"

now I know the nfs service is running on the server, so thats fine.

/etc/hosts reads as follows:

127.0.0.1       localhost.localdomain   localhost
192.168.0.2     ws002                   ws002

and dhcpd.conf:

ddns-update-style none;

default-lease-time            21600;
max-lease-time                21600;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.1;
option routers                192.168.0.1;
option domain-name-servers    192.168.0.1;
option root-path              "192.168.0.1:/opt/ltsp/i386";

option option-128 code 128 = string;
option option-129 code 129 = text;

shared-network WORKSTATIONS {
    subnet 192.168.0.0 netmask 255.255.255.0 {
    }
}

group   {
    use-host-decl-names       on;
    option log-servers        192.168.0.254;

    host ws001 {
        hardware ethernet     00:E0:06:E8:00:84;

    }
}

group   {
    use-host-decl-names       on;
    option log-servers        192.168.0.254;

host ws001 {
hardware ethernet 00:E0:06:E8:00:84;
fixed-address 192.168.0.1;
filename "/lts/vmlinuz";
## option option-128 e4:45:74:68:00:00; #This is NOT a MAC address
## option option-129 "NIC=ne IO=0x300";
}
host ws002 {
hardware ethernet 00:20:ed:61:9d:92;
fixed-address 192.168.0.2;
filename "/lts/vmlinuz";
}
}


I can't find anything wrong with these, but perhaps i'm looking in the worng places.

Any ideas anyone?

thanks in advance,

Luc

Hello Luc, I had the same problem with nfs today. Same message. After a restart of the nfs server everything was allright:

(on my machine:)
rcnfsserver restart

Good luck
Gerhard Damerau




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/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