Hopefully some nfs expert here can help me on this topic:
I'm trying to make raspbian on a raspberry pi3 boot to a NFS root. The problem seems to be that the root filesystem is on an img-file on a NAS (yes, in my use-case I do need it to be a file). The file was constructed from the raspbian installer by instructions at https://cellux.github.io/articles/moving-to-nfs-root/ and it can be mounted fine from another linux machine. My cmdline.txt looks like this:
It seems like the problem is that after the image file is mounted over NFS it should then be mounted as a loopback device as root. Can anyone verify this, and is there any way around it?
Code: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs rootfstype=ext4 elevator=deadline nfsroot=192.168.0.74:/i-data/c6db3422/nfs/linuxfs/skynet201801.img ip=dhcp elevator=deadline rootwait