本文主要是介绍Boot my smartq7 from nfs filesystem,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1. Configure nfs server on host
http://blog.csdn.net/stevenliyong/archive/2009/12/01/4914673.aspx
2. Configure dhcp server on host
修改 /etc/dhcp3/dhcpd.conf
ddns-update-style ad-hoc;
default-lease-time 14400;
subnet 192.168.0.0 netmask 255.255.255.0 {
default-lease-time 14400;
max-lease-time 172800;
next-server 192.168.0.10
host smartq7 {
fixed-address 192.168.0.199;
hardware ethernet 00:80:c8:e4:c1:e4;
option root-path "192.168.0.10:/tftp/smartq7";
next-server 192.168.0.10;
}
}
#sudo /etc/init.d/dhcp3-server restart
3. Configure smartq7 Kernel
-> Networking
-> Networking options
[*] IP: kernel level autoconfiguration
[*] IP: DHCP support
[*] IP: BOOTP support
-> File systems
<*> Network File Systems
<*> NFS file system support
<*> Root file system on NFS
4. Configure kernel command lin
root=/dev/nfs nfsroot=192.168.0.10:/tftp/smartq7 ip=dhcp console=ttySAC0 init=/init rootwait
http://www.faqs.org/docs/Linux-mini/NFS-Root.html
这篇关于Boot my smartq7 from nfs filesystem的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!