Re: nfsroot protocol version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux