免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1233 | 回复: 2
打印 上一主题 下一主题

PXE 网络安装 请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-26 15:28 |只看该作者 |倒序浏览
我 看了网上的很多关于PXE教材  自己去适应 老出问题  
我的 配置文件   /etc/dhcpd.conf
    ddns-update-style interim;
ignore client-updates;
allow booting ;
allow bootp ;
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
        option routers                  192.168.0.1;
        option subnet-mask              255.255.255.0;
        option nis-domain               "domain.org";
        option domain-name              "rhel5.com";
        option domain-name-servers      192.168.0.254;
        option time-offset              -18000; # Eastern Standard Time
#       option ntp-servers              192.168.1.1;
#       option netbios-name-servers     192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;
        range dynamic-bootp 192.168.0.100 192.168.0.250;
        default-lease-time 21600;
        max-lease-time 43200;
        next-server 192.168.0.254;
        filename "/pxelinux.0";
        # we want the nameserver to appear at a fixed address
        host ns {
                next-server marvin.redhat.com;
                hardware ethernet 12:34:56:78:AB:CD;
                fixed-address 207.175.42.254;
        }
}
TFTP的配置文件 基本没有改
[root@server1 tftpboot]# ll
total 6968
-rw-r--r-- 1 root root     292 Sep 26 11:23 boot.msg
-rw-r--r-- 1 root root     919 Sep 26 11:23 general.msg
-rw-r--r-- 1 root root 5245144 Aug 14 12:05 initrd.img
-rw-r--r-- 1 root root     817 Sep 26 11:23 options.msg
-rw-r--r-- 1 root root     517 Sep 26 11:23 param.msg
-rw-r--r-- 1 root root   13148 Sep 26 12:47 pxelinux.0
drwxr-xr-x 2 root root    4096 Sep 26 14:10 pxelinux.cfg
-rw-r--r-- 1 root root     490 Sep 26 11:23 rescue.msg
-rw-r--r-- 1 root root 1791572 Aug 14 12:05 vmlinuz
[root@server1 tftpboot]# cd pxelinux.cfg/
[root@server1 pxelinux.cfg]# ll
total 8
-r-xr-xr-x 1 root root 366 Sep 26 14:09 default
我的default 文件 内容
default linux
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label linux
  kernel vmlinuz
  append initrd=initrd.img
label text
  kernel vmlinuz
  append initrd=initrd.img text
label ks
  kernel vmlinuz
  append ks initrd=initrd.img
label local
  localboot 1
label memtest86
  kernel memtest
  append -
全部的配置都在上面  请高手指点错误

客户机 从网络启动以后提示 NO BOOT FILENAME RECEIVED

论坛徽章:
0
2 [报告]
发表于 2008-09-26 16:46 |只看该作者
你的TFTP启动了吗?看看我在精华区的文档吧。

论坛徽章:
0
3 [报告]
发表于 2008-09-27 10:54 |只看该作者
基本上没有配制文件方面都是和你说的一样
   各个服务我都启动过了` DHCP TFTP   
            你能否帮我检查哈
    我检查了好久  找不出问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP