booting root filesystem over nfs
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mike" == Mike Sander <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard
Sander sez,
Quoted 8 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Pink" == Pink Boy <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard