Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] booting root filesystem over nfs
@ 2008-05-05 13:18 Mike Sander
  2008-05-05 15:23 ` Peter Korsgaard
  2008-05-05 20:49 ` Pink Boy
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Sander @ 2008-05-05 13:18 UTC (permalink / raw)
  To: buildroot

Hi All,

First of all, I want to thank contributors to
buildroot (and friends).  It is pretty awesome.

I was wondering if it is intended for the
project_build_ARCH/uclibc/root to be suitable for
booting over nfs.  I have seen some indication in the
mailing list that others have done so.

I have tried and encountered 2 issues:

1) After a "make" the /dev entries are all normal
files instead of device nodes.   This does not appear
to depend upon the target root filesystem type.  Is
this correct behavior?   If not, is there an
additional step I need to perform.   For now I have
manually created /dev/console & /dev/null

2) the "root" in path to the root filesystem was
causing boot problems on my target.    I was getting
error messages of the form "mounting proc/ ... mount:
permission denied.  (are you root?)".   Simply
renaming "root" to "rfs" (for example) on my Host
(ubuntu 7.10) caused this particular problem to go
away.  Having to do this makes me wonder if I am
doing something wrong.

Any guidance would be appreciated.

Regards,

Mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] booting root filesystem over nfs
  2008-05-05 13:18 [Buildroot] booting root filesystem over nfs Mike Sander
@ 2008-05-05 15:23 ` Peter Korsgaard
  2008-05-05 20:49 ` Pink Boy
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2008-05-05 15:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Mike" == Mike Sander <msander@ripnet.com> writes:

 Mike> Hi All,
 Mike> First of all, I want to thank contributors to
 Mike> buildroot (and friends).  It is pretty awesome.

You're welcome.

 Mike> I was wondering if it is intended for the
 Mike> project_build_ARCH/uclibc/root to be suitable for
 Mike> booting over nfs.  I have seen some indication in the
 Mike> mailing list that others have done so.

It isn't. Please see
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/8143/focus=8160
for a recent discussion about this.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] booting root filesystem over nfs
  2008-05-05 13:18 [Buildroot] booting root filesystem over nfs Mike Sander
  2008-05-05 15:23 ` Peter Korsgaard
@ 2008-05-05 20:49 ` Pink Boy
  2008-05-05 21:50   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Pink Boy @ 2008-05-05 20:49 UTC (permalink / raw)
  To: buildroot

Sander sez,

> 2) the "root" in path to the root filesystem was
> causing boot problems on my target.    I was getting
> error messages of the form "mounting proc/ ... mount:
> permission denied.  (are you root?)".   Simply
> renaming "root" to "rfs" (for example) on my Host
> (ubuntu 7.10) caused this particular problem to go
> away.  Having to do this makes me wonder if I am
> doing something wrong.

I'm having some issues mounting a root file system over
NFS on Ubuntu.  Might be related.  Just to get it to mount
I had to manually add no_root_squash to the etc/exports 
share entry  After that linux would mount and boot, but 
doesn't have write access to root which results in 
errors on startup.  (I'm using the TimeSys board suport
package so I doubt there is anything wrong with the 
root file system itself.)

Mr Foo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] booting root filesystem over nfs
  2008-05-05 20:49 ` Pink Boy
@ 2008-05-05 21:50   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2008-05-05 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Pink" == Pink Boy <dasfoo@yahoo.com> writes:

Hi,

 Pink> I'm having some issues mounting a root file system over
 Pink> NFS on Ubuntu.  Might be related.  Just to get it to mount
 Pink> I had to manually add no_root_squash to the etc/exports 

Sure, no_root_squash is needed for booting, otherwise root only has
access as nobody.

This is not related to buildroot though.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-05 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 13:18 [Buildroot] booting root filesystem over nfs Mike Sander
2008-05-05 15:23 ` Peter Korsgaard
2008-05-05 20:49 ` Pink Boy
2008-05-05 21:50   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox