标签:
服务器端:RHEL5(静态IP 192.168.1.101)
源Gentoo系统:服务器上的Gentoo系统就来自于它,编译内核也是在这台机器上执行的
无盘客户端:网卡是 AMD PCnet32 支持PXE启动。系统是位于RHEL5上的Gentoo,通过PXE启动
实验主要有几下几个步骤:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.128 192.168.1.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
filename "pxelinux.0";
next-server 192.168.1.101;
}
label linux
kernel ../kernel-2.6.30-gentoo-r8
append root=/dev/nfs ip=dhcp nfsroot=192.168.1.101:/nfsroot rw
/nfsroot 192.168.1.0/24(rw,no_root_squash)
192.168.1.101:/nfsroot/ / nfs noatime,rw 0 1
none /proc proc defaults 0 0
标签:
原文地址:http://www.cnblogs.com/cute/p/4936363.html