一、在主机里安装nfs服务

apt-get install nfs-kernel-server

配置nfs输出目录:/etc/exports

在该文件中添加一行:/home/arm *(rw,sync,no_root_squash)  根据实际情况修改/home/arm为想要的路径就行了。

二、编译arm linux内核勾选nfs client

[Filesystem] -> Mi..................


三、设置启动参数

[仅供参考]

"root=/dev/nfs init=/sbin/init console=ttySAC0 nfsroot=192.168.0.100:/home/arm ip=192.168.0.101"


相关文章:

  • 2021-10-20
  • 2021-10-16
  • 2021-08-06
  • 2021-10-16
  • 2019-11-12
  • 2021-08-04
  • 2021-11-27
  • 2019-11-14
猜你喜欢
  • 2020-11-08
  • 2018-08-25
  • 2022-01-01
  • 2021-11-26
  • 2021-11-17
  • 2021-08-07
  • 2018-05-10
  • 2021-08-07
相关资源
相似解决方案