本人刚接触嵌入式,碰到一个问题好多天没解决,网上很多人都碰到了类似的问题,但我这边按他们的方法解决不了问题。求大神解惑。
问题描述:
开发板nfs挂载ubuntu虚拟机失败。提示:
mount: wrong fs type, bad option, bad superblock on 192.168.1.2:/home/hjr/share/nfs,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so.
网上很多人碰到这个问题,都说要安装nfs-utils。但我这是开发板,安不上啊。
在开发板的/proc/filesystems下有nodev nfs和nodev nfs4。但是在/sbin下没有mount.nfs。
ubuntu虚拟机的nfs服务器测试OK。
开发板也可以ping的通主机:
root@firefly:/sbin# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=1.55 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=0.873 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=64 time=0.724 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=64 time=0.902 ms
^C
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 0.724/1.014/1.557/0.320 ms
好几天没弄好。路过的大神帮忙解解惑吧。。。