【发布时间】:2019-09-19 08:05:15
【问题描述】:
我的 NFS 服务器有问题。我基本上必须从 NFS 启动嵌入式处理器。 在 ubuntu 机器上,我只是将文件系统放在 /tftpboot 中, 在 /etc/exports 中添加了这一行:
/tftpboot *(rw,no_root_squash,no_all_squash,sync)
然后我执行了命令:
sudo /usr/sbin/exportfs -av
sudo /etc/init.d/nfs-server restart
但在嵌入式处理器上我收到此错误:
Looking up port of RPC 100003/2 on 192.168.2.11
Looking up port of RPC 100005/1 on 192.168.2.11
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
尤其是线条
Looking up port of RPC 100003/2 on 192.168.2.11
Looking up port of RPC 100005/1 on 192.168.2.11
让我觉得问题出在 NFS 服务器的配置上,谁能帮帮我?
【问题讨论】:
标签: nfs