大网数据广告活动
服务器运维问答

Boot .iso from PXE server via HTTP

· 52CE 我爱测

I have set up on my FreeBSD 10.3 PXE Boot server, using Syslinux. Boot via TFTP works fine, but via HTTP returns to PXE menu. Getting all files from browser works fine. # cat /usr/tftpdata/pxelinux.cfg/default label mfsbsd menu l…

问题原文

原帖链接 · A_buddy · CC BY-SA 3.0

I have set up on my FreeBSD 10.3 PXE Boot server, using Syslinux. Boot via TFTP works fine, but via HTTP returns to PXE menu. Getting all files from browser works fine.

# cat /usr/tftpdata/pxelinux.cfg/default

label mfsbsd
  menu label ^MfsBSD 10.3 (TFTP)
  kernel memdisk raw
  initrd images/mfsbsd/mfsbsd-se-10.3-RELEASE-amd64.iso
  append iso raw

label mfsbsd_http
  menu label ^MfsBSD 10.3 (HTTP)
  kernel memdisk raw
  initrd http://172.16.3.5/pxe/images/mfsbsd/mfsbsd-se-10.3-RELEASE-amd64.iso
  append iso raw

tftp folder:

# ls -l /usr/tftpdata
total 560
-r--r--r--  1 root  wheel   24560 Jul 20 00:38 chain.c32
-rw-r--r--  1 root  wheel  111334 Jul 20 00:31 gpxelinux.0
drwxr-xr-x  3 root  wheel     512 Jul 21 19:30 images
-rwxr-xr-x  1 root  wheel  122308 Jul 20 00:39 ldlinux.c32
-r--r--r--  1 root  wheel  186500 Jul 20 00:48 libcom32.c32
-r--r--r--  1 root  wheel   24148 Jul 20 00:45 libutil.c32
-rw-r--r--  1 root  wheel   26140 Jul 20 00:39 memdisk
-rwxr-xr-x  1 root  wheel   26596 Jul 20 00:39 menu.c32
drwxr-xr-x  2 root  wheel     512 Jul 19 14:11 pxelinux.cfg
-rwxr-xr-x  1 root  wheel    1376 Jul 20 00:39 reboot.c32
-rwxr-xr-x  1 root  wheel   27104 Jul 20 00:39 vesamenu.c32

What's wrong? Thanks to all in advance.

已采纳解答

原帖链接 · Pat · CC BY-SA 3.0

Let's consider that you are trying to boot BIOS clients

if your NBP is pxelinux.0 then you won't be able to use the HTTP capabilities. For HTTP and FTP transfers you must use lpxelinux.0 instead. The prepending "l" stands for the use of the lwIP (lightweight IP) library.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。