|
|
回复 #54 rockrock99 的帖子
呵呵,好久没来论坛看帖了,没想到讨论到这么详细了,学校换联通,打开论坛慢的要死,看到你要pxe启动,我今天测试下,启动成功了。
我是centos6.0做服务器,分别nfs,dhcp,tftp安装好,大伙应该都知道吧,然后是分别配置tftp,dhcp,nfs就行了,将geexbox里的文件解压到/tftpboot作为共享,记得把isolinux的文件都复制到/tftpboot下。就可以了,然后设置客户机为网卡启动,就可以看到geexbox启动画面了,余下就和u盘一样了。以下相关配置文件(-_-|||不会贴图,pxe的启动画面太快,截图不到。下次整理好发到博客去分享给大家吧
):
dhcpd.conf:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.128 192.168.1.255;
option broadcast-address 192.168.1.255;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.1.128; //这是tftp服务器的io
filename "pxelinux.0";
}
ks.cfg:
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use NFS installation media
nfs --server=192.168.1.128 --dir=/tftpboot
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang zh_CN
# SELinux configuration
selinux --enforcing
# Installation logging level
logging --level=info
# System timezone
timezone Asia/Shanghai
# System bootloader configuration
bootloader --location=none
# Partition clearing information
clearpart --none
exports:
/var/lib/tftpboot/ 192.168.1.0/24(sync,ro)
/mnt/ks 192.168.1.0/24(sync,ro)
[ 本帖最后由 2010ksharpdabu 于 2011-11-18 12:08 编辑 ] |
|