I have a raspberry pi model b+ that I am attempting to boot with a root on an nfs share. The pi takes an ip address from dhcp, and makes request to my nfs server for the root share. The server reports this request in logs, but the pi hangs after printing its ip configuration.
The last cmdline.txt I tried contained:
root=/dev/nfs rw nfsroot=192.168.2.25:/srv/rpi-root-nfs,tcp ip=dhcp vers=3
/etc/exports on the nfs server contains:
/srv/rpi-root-nfs 192.168.2.0/24(rw,sync,no_root_squash,no_all_squash,insecure)
Are there any problems with this configuration?
UPDATE (06-06-2016) -- took a picture of the boot logs with loglevel set to 7. The line [ 7.318013 ] ... rootpath=
is odd, as rootpath
should be set, according to the kernel line.
nfsrootdebug
, but it didn’t have any effect.