All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mason <slash.tmp@free.fr>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: nfsroot protocol version
Date: Wed, 22 Apr 2015 10:57:57 +0200	[thread overview]
Message-ID: <55376295.9060503@free.fr> (raw)
In-Reply-To: <A18103B0-EB7B-4336-95D6-4519F1279779@oracle.com>

On 21/04/2015 17:16, Chuck Lever wrote:

> You might have better luck with this:
>
>   http://wiki.emacinc.com/wiki/Booting_with_an_NFS_Root_Filesystem
>
> It explains how to specify client kernel boot commandline parameters
> on your DHCP server that will make NFSROOT work.

Hello Chuck,

Thanks to you, it now works.

At first, I had mistakenly assumed U-boot was somehow passing the
root-path variable to Linux, but, in fact, Linux gets it from the
DHCP server (just like U-boot does).

Thus, if I set my boot command line to:
ip=dhcp root=/dev/nfs rdinit=/none console=ttyS0,115200 mem=640M

and if I change my DHCP server configuration to:
option root-path "172.27.64.1:/export/roots/6_2_0_8756,v3";

then everything works as expected, and my kernel no longer needs
to supportNFSv2.

Regards.


      reply	other threads:[~2015-04-22 10:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01  9:55 nfsroot protocol version Mason
2015-04-21  8:37 ` Mason
2015-04-21 14:07   ` Chuck Lever
2015-04-21 14:45     ` Mason
2015-04-21 15:16       ` Chuck Lever
2015-04-22  8:57         ` Mason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55376295.9060503@free.fr \
    --to=slash.tmp@free.fr \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.