rhel6下pxe网络引导安装的问题
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 -
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在ftp配置文件加上 试一试
server_args = -t -s -v /tftpboot 《---
disable = no 《---
LZ---------default文件写的好乱,我看的有点乱,--------