Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfs and initrd (instead of nfsroot)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
michip
n00b
n00b


Joined: 17 Oct 2002
Posts: 42
Location: Kassel, DE

PostPosted: Fri May 14, 2004 4:28 pm    Post subject: nfs and initrd (instead of nfsroot) Reply with quote

Hi,

I' am setting up a new diskless client with kernel 2.6 (mm-sources-2.6.6_rc3) and I need to emulate nfsroot. I am running some really old boxes for more than 4 years by now on nfsroot, and I managed Gentoo with Kernel 2.4 and nfsroot.

So far 2.6 does not support nfsroot anymore (do I miss something ?), an I'am on my way to do that in initrd. Outch.
I've managed to create an initrd with some libs and can use ifconfig, portmap and maybe dhcpcd if I try.

Currently a HD is attached, and I can boot the machine with initrd or not by grub.conf. Booting from disk, starting portmap and mounting the nfs works w/o any hazzle.
Booting to initrd, ifconfig works and I try mount -n ..... follows with -oport=2049,mountport=xxxx:
nfs warning: mount version older than kernel
portmap: server localhost not responding, timed out
RPC: failed to connect to pormap (errno = -5)

this repeates 3 times.

Using w/o -rport=2049... and portmap instead gives the following:
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
lockd_up: no pid, 2 users?
portmap: server localhost not responding, timed out
RPC: failed to connect to pormap (errno = -5)
portmap: server localhost not responding, timed out
RPC: failed to connect to pormap (errno = -5)

Trying w/o portmap, than with an w/o again produces just
nfs warning: mount version older than kernel

and mounts :evil:

Any ideas, please ?

CU

Michael
Back to top
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Fri May 14, 2004 5:29 pm    Post subject: Re: nfs and initrd (instead of nfsroot) Reply with quote

michip wrote:
So far 2.6 does not support nfsroot anymore (do I miss something ?), an I'am on my way to do that in initrd. Outch.
I've managed to create an initrd with some libs and can use ifconfig, portmap and maybe dhcpcd if I try.


Are you sure about it?
Have you enabled "Kernel Autolevel configuration" (or something like this) in Networking options? It is the DHCP buil-it kernel support and is needed for NFS-root.
On my 2.6.6-love2 is avaible.

Bye
_________________
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039)
Back to top
View user's profile Send private message
michip
n00b
n00b


Joined: 17 Oct 2002
Posts: 42
Location: Kassel, DE

PostPosted: Sat May 15, 2004 1:07 pm    Post subject: Reply with quote

Shame on me, you're right. I don't know why I believed that :oops: . Maybe it was not included in 2.5.x and kept this in my mind.

Thanx,

Michael
Back to top
View user's profile Send private message
michip
n00b
n00b


Joined: 17 Oct 2002
Posts: 42
Location: Kassel, DE

PostPosted: Mon May 17, 2004 7:36 pm    Post subject: Reply with quote

I've found the solution for my NFS-Problem; after some googlin' I found a posting of someone else with similiar probs. He deleted a script for starting up the network interfaces....I forgot to configure "lo" 8O

CU

Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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