一、在主机里安装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-12-21
  • 2021-10-21
  • 2021-12-31
  • 2021-08-12
  • 2021-09-22
  • 2022-01-19
  • 2021-12-14
  • 2022-12-23
猜你喜欢
  • 2021-09-12
  • 2022-02-08
  • 2021-09-23
  • 2021-11-01
  • 2021-04-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案