歡迎您光臨本站 註冊首頁

rhel6下pxe網路引導安裝的問題

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

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
求高人指點 謝謝

# 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;
}




  # 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



# 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 -
《解決方案》

謝謝分享....學習鳥

[火星人 ] rhel6下pxe網路引導安裝的問題已經有860次圍觀

http://coctec.com/docs/service/show-post-1366.html