Chris Moewes-Bystrom wrote:
> I've seen refernce to having the root file system be an nfs mount but
> I can't seem to figure out how to set this up. I have the
>
> option root-path "/home/mvp,rsize=4096,wsize=4096,nolock";
>
> in my dhcpd.conf file but I assume I am missing something.
>
> Any help would be appreciated.
>
>   
That may or may not work in 2.4, it will not work in later
kernels (probably not an issue since most embedded things
currently use 2.4), but it may also stop working in 2.4
as that code appears to be being ignored.

The easiest way is to use the dongle.bin.config file
and have it mount the filesystem that you want to be root
and then pivot_root that filesystem into be the root, you
can also do it by messing with the scripts in initial ram disk,
given the way this the mvpmc works I would just do it with
the config file just so I did not have to be modifying the
initial ram disk all of the time to make the changes on
new versions.  It is also somewhat easier to debug, as
when the in-kernel nfs root part fails it is at best difficult
to debug.

There is a fair amount of documentation about doing it with
pivot_root.

If you have a recent linux main machine do a "man pivot_root"
and it has some examples that are pretty close to what I have
used on much later kernel versions to run diskless with
a full remote root disk.

                          Roger

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to