Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LTSP Problems mount NFS root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oshecho
n00b
n00b


Joined: 23 Dec 2006
Posts: 62

PostPosted: Thu Nov 11, 2010 7:34 pm    Post subject: LTSP Problems mount NFS root Reply with quote

I've been trying to get LTSP working and almost have a thin client booting up. (I've mostly followed this guide: http://webcache.googleusercontent.com/search?q=cache:http://flowledge.nl/gentoo/ltsp/)

The thin client(virtualbox instance right now) gets the correct information from my DHCP server, gets the pxelinux via tftp and starts booting the image. It goes fine until it tries to mount the root from NFS.

The error I get is:
Code:
>> Attempting to mount NFS root on 192.168.1.2:/opt/ltsp/x86
   mount: RPC: Unable to send; errno = Network is unreachable
!! NFS Mounting failed. Is the path correct ?


I've read that the kernel itself is supposed to get an IP and watching the logs on my DHCP server, I don't see that happening. So that is probably the problem, but I have no idea on how to fix it.

/etc/exports:
Code:
/opt/ltsp/x86 *(ro,sync,no_root_squash,no_subtree_check)


In the client kernel config:
Code:
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set


pxelinux.cfg/default:
Code:
default x86

label x86
kernel x86-kernel-2.6.29-r12
append initrd=initramfs-genkernel-x86-2.6.34-gentoo-r12 init=linuxrc ip=dhcp root=/dev/nfs nfsroot=192.168.1.2:/opt/ltsp/x86

_________________
Adopt an unanswered post!
God rocks
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sat Nov 13, 2010 9:17 pm    Post subject: Reply with quote

Quote:
I've read that the kernel itself is supposed to get an IP and watching the logs on my DHCP server, I don't see that happening. So that is probably the problem, but I have no idea on how to fix it.


I'd concur. Your network interface driver is built into the kernel, right? All else appears correct.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
wim-x
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 110
Location: Netherlands

PostPosted: Fri Dec 03, 2010 4:36 pm    Post subject: Reply with quote

Did you compile in the NFS client stuff in the client kernel? I'v always compiled it as module, letting the initramfs load it at client boot time.

Code:
 
<M>   NFS client support
 [*]     NFS client support for NFS version 3
 [*]       NFS client support for the NFSv3 ACL protocol extension
 [*]     NFS client support for NFS version 4 (EXPERIMENTAL)


The MODULES_FS variable in /usr/share/genkernel/defaults/modules_load should also contain nfs before you make the initramfs with genkernel.

Also, The manual you should be using is on the unofficial Gentoo Wiki.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum