and now for NFS :)

OK, the saga continues. We are getting close here, I am sure. I am getting a TFTP boot and a NFS root file system.

One serious issue J I cannot log in! Both debian and root users fail. The rfs is debain Jessie and I’ve cleared any root password stuff from /etc/shadow

jevans@nfshost# cat bone/rootfs/etc/shadow

root::16595:0:99999:7:::

debian::16595:0:99999:7:::

Any ideas?

FWIW Mounting the file system from the flasher image worked immediately once nfs-common was installed.

uname -a

Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux

attempt to mount the exported NFS rfs to check it works

root@beaglebone:~# ls -als /mnt/nfs

total 8

4 drwxr-xr-x 2 root root 4096 Mar 1 21:28 .

4 drwxr-xr-x 3 root root 4096 Mar 1 21:28 …

check what is exported from the main workstation

root@beaglebone:~# showmount -e debi7

Export list for debi7:

/home/jevans/bone/rootfs *

now mount the drive

root@beaglebone:~# mount -t nfs debi7:/home/jevans/bone/rootfs /mnt/nfs

and get a listing. All looks good

root@beaglebone:~# ls /mnt/nfs

am335x-boneblack.dtb dtbs media root sys var

bin etc mnt run tmp vmlinuz-4.1.0-bone9

boot home opt sbin uEnv.txt

dev lib proc srv usr

Board also automounts exported NFS drive if added to etc/fstab thus:

UUID=ab728192-ba33-4dfb-b3ef-ae05824502c8 / ext4 noatime,errors=remount-ro 0 1

debugfs /sys/kernel/debug debugfs defaults 0 0

192.168.1.115:/home/jevans/bone/rootfs /mnt/nfs nfs defaults 0 0