Tiny6410 用nfs起根文件系统
Tiny6410 用nfs起根文件系统
以下是基于Fedora 10.0系统下实现的
一
1 首先在Fedora中安装tftp和nfs服务器,首先用rpm -qa | grep tftp 检查系统是否已安装tftp服务
如果木有安装的话 yum install xinetd tftp tftp-server
2 配置vi /etc/xinetd.d/tftp改成这样既可
3 建立tftp工作目录并修改属性
mkdir /tftpboot
chmod 777 -R /tftpboot
4 启动tftp服务器
/etc/init.d/xinetd start
5 检查tftp是否成功启动
netstat -a | grep tftp
二
1 使用命令查看nfs服务是否安装
rpm -qa | grep nfs
2 安装nfs服务
yum install portmap Nfs-utils
3 vi /etc/exports 改成如下既可
4 启动nfs
/etc/init.d/nfs start
5 查看nfs是否启动
netstat -a | grep nfs
6 暂时关闭fedora防火墙(如果不关的话开发板会无法从NFS启动)
/etc/init.d/iptables stop
7 建立共享文件夹
mkdir /home/nfs
chmod 777 -R /home/nfs
|
评论暂时关闭