View previous topic :: View next topic |
Author |
Message |
michip n00b
Joined: 17 Oct 2002 Posts: 42 Location: Kassel, DE
|
Posted: Fri May 14, 2004 4:28 pm Post subject: nfs and initrd (instead of nfsroot) |
|
|
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
Any ideas, please ?
CU
Michael |
|
Back to top |
|
|
primero.gentoo Guru
Joined: 23 Dec 2003 Posts: 402
|
Posted: Fri May 14, 2004 5:29 pm Post subject: Re: nfs and initrd (instead of nfsroot) |
|
|
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 |
|
|
michip n00b
Joined: 17 Oct 2002 Posts: 42 Location: Kassel, DE
|
Posted: Sat May 15, 2004 1:07 pm Post subject: |
|
|
Shame on me, you're right. I don't know why I believed that . Maybe it was not included in 2.5.x and kept this in my mind.
Thanx,
Michael |
|
Back to top |
|
|
michip n00b
Joined: 17 Oct 2002 Posts: 42 Location: Kassel, DE
|
Posted: Mon May 17, 2004 7:36 pm Post subject: |
|
|
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"
CU
Michael |
|
Back to top |
|
|
|
|
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
|
|