免费注册 查看新帖 |

Chinaunix

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

rhel6下pxe网络引导安装的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-12 22:51 |只看该作者 |倒序浏览
rhel6下pxe网络引导安装的问题















请高手看看我这里配置哪里出错了,我开虚拟机测试安装的时候一直出现
tftp://0.0.0.0/...........connection timed out (Ox4c126035)
could not load tftp://0.0.0.0/: connection timed out (Ox4c126035)
No more network device
No bootable device这个错误,我在dhcp配置文件里加了next-server 192.168.1.100
求高人指点 谢谢

[root@rhel6 ~]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#    protocol.  The tftp protocol is often used to boot diskless \
#    workstations, download configuration files to network-aware printers, \
#    and to start the installation process for some operating systems.
service tftp
{
     disable    = no
     socket_type        = dgram
     protocol        = udp
     wait            = yes
     user            = root
     server            = /usr/sbin/in.tftpd
     server_args        = -s /tftpboot
     per_source        = 11
     cps            = 100 2
     flags            = IPv4
}

dhcp配置:



ddns-update-style none;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.1.0 netmask 255.255.255.0 {

    option routers             192.168.1.1;   #我用的路由器上网,路由的IP是192.168.1.1
     next-server             192.168.1.100; #这个是我本机的IP 192.168.1.100
     option subnet-mask         255.255.255.0;
     filename "pxelinux.0";
     option domain-name-servers    192.168.1.1;
     option time-offset -18000;
     range dynamic-bootp 192.168.1.12 192.168.1.254;
}




  [root@rhel6 ~]# ll /tftpboot/
total 33088
-rwxr-xr-x. 1 root root 30063052 May 21 14:51 initrd.img
-rw-r--r--. 1 root root    16794 May 21 14:51 pxelinux.0
drwxr-xr-x. 2 root root     4096 May 21 14:53 pxelinux.cfg
-rwxr-xr-x. 1 root root  3791744 May 21 14:52 vmlinuz



[root@rhel6 ~]# cat /tftpboot/pxelinux.cfg/default
default vesamenu.c32
#prompt 1
timeout 600

display boot.msg

menu background splash.jpg
menu title Welcome to Red Hat Enterprise Linux 6.0!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
menu color unsel 0 #ffffffff #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color scrollbar 0 #ffffffff #00000000

label linux
   menu label ^Install or upgrade an existing system
   menu default
   kernel vmlinuz
   append initrd=initrd.img ks=ftp://192.168.1.100/pub/ks.cfg
label vesa
   menu label Install system with ^basic video driver
   kernel vmlinuz
   append initrd=initrd.img xdriver=vesa nomodeset
label rescue
   menu label ^Rescue installed system
   kernel vmlinuz
   append initrd=initrd.img rescue
label local
   menu label Boot from ^local drive
   localboot 0xffff
label memtest86
   menu label ^Memory test
   kernel memtest
   append -

论坛徽章:
0
2 [报告]
发表于 2011-12-21 22:10 |只看该作者
谢谢分享

论坛徽章:
0
3 [报告]
发表于 2011-12-22 13:21 |只看该作者
  出错在哪一步?

FTP服务开着吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP