Networking Forums

Networking Forums > Computer Networking > Linux Networking > nfs-root: strange library problem

Reply
Thread Tools Display Modes

nfs-root: strange library problem

 
 
klaus thorn
Guest
Posts: n/a

 
      02-13-2004, 01:36 PM
I'm setting up a diskless client by getting the kernel via PXE and
root fs via nfs from a linux server. But after the nfs mount the
kernel does not start init. When I substitute the init (standart red
hat 9 /sbin/init) with a statically linked init then init gets
startetd! But everything else fails (everything else is
still dynamically linked).

I don't see where the problem could be since in the root nfs there is
a copy of a complete root fs of a redhat 9 install, including /lib
/bin /sbin /dev and so on. what could be missing?

If I make a chroot to the client nfs-root directory on the server I
can execute for example bash without problems. What could I try next?
 
Reply With Quote
 
 
 
 
Hactar
Guest
Posts: n/a

 
      02-13-2004, 02:36 PM
In article <(E-Mail Removed)> ,
klaus thorn <(E-Mail Removed)> wrote:
> I'm setting up a diskless client by getting the kernel via PXE and
> root fs via nfs from a linux server. But after the nfs mount the
> kernel does not start init. When I substitute the init (standart red
> hat 9 /sbin/init) with a statically linked init then init gets
> startetd! But everything else fails (everything else is
> still dynamically linked).
>
> I don't see where the problem could be since in the root nfs there is
> a copy of a complete root fs of a redhat 9 install, including /lib
> /bin /sbin /dev and so on. what could be missing?
>
> If I make a chroot to the client nfs-root directory on the server I
> can execute for example bash without problems. What could I try next?


What are the options to the NFS mount? The relevant line in my /etc/exports
is this:

/nfs 192.168.1.24(rw,async,no_root_squash)

Maybe /lib/ld-linux.so has to be owned by root. You can try chowning it and
chrooting.

--
-eben (E-Mail Removed)m home.tampabay.rr.com/hactar

Hanlon's Razor: "Never attribute to malice that which can be
adequately explained by stupidity." Derived from Robert Heinlein
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS root problem Guillaume Dargaud Linux Networking 0 04-18-2008 02:53 PM
WG311T wireless card is showing c.root-server.net and other root-server.net in netstat. Robert Home Networking 1 05-06-2005 08:13 PM
Postfix config - cron messages for root going to root@ISP. Doug Laidlaw Linux Networking 5 02-27-2005 03:21 PM
nfs root problem - empty directories Elad Ben-Israel Linux Networking 0 11-11-2004 05:41 PM
Root over NFS Problem... Nick Linux Networking 0 07-29-2003 05:05 PM



1 2 3 4 5 6 7 8 9 10 11