[syslinux] pxechain.com loops back with WDSNBP started using DHCP Referral

Jelle de Jong jelledejong at powercraft.nl
Mon Jul 10 10:39:22 PDT 2017



On 10/07/17 19:13, Jelle de Jong wrote:
> Thank you Gene!
>
> On 10/07/17 17:54, Gene Cumm wrote:
>> On Mon, Jul 10, 2017 at 11:25 AM, Jelle de Jong via Syslinux
>> <syslinux at zytor.com> wrote:
>>> Windows 2012 WDS server: 10.87.0.202
>>> Windows DHCP server: 10.87.0.152
>>> 066 (Boot Server Host Name): 10.87.3.19
>>> 067 (Bootfile Name): pxelinux.0
>>>
>>> PXELinux CentOS 7 server : 10.87.3.19
>>>
>>> # cat /srv/tftp/pxelinux.cfg/default
>>> DEFAULT menu.c32
>>> PROMPT 0
>>> MENU TITLE Main Menu
>>>
>>> LABEL CentOS-7-x86_64
>>>   KERNEL CentOS-7-x86_64/vmlinuz
>>>   APPEND initrd=CentOS-7-x86_64/initrd.img
>>> ks=http://vsxansible01.wdm.local/anaconda-ks.cfg
>>> LABEL Windows Deployment Services
>>>   kernel pxechain.com
>>>   append 10.87.0.202::\boot\x64\wdsnbp.com
>>
>> Use pxechn.c32 as WDSNBP since ~2008R2 doesn't like being loaded this
>> way.
>>
>> http://www.syslinux.org/wiki/index.php?title=Pxechn.c32#EXAMPLES
>
> I tried wget
> https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-5.00.tar.gz and
> extract all the modules it asked for.
>
> I ended up with Error: An undefined symbol was referenced.
>
> So I guess there needs to be some compilation against libraries in order
> to get pxechn.c32
>
> I use CentOS 7 that shipped a 4.x version of syslinux. I have no idea
> why this version is so old.
>
> Do you now where to get an free RPM of syslinux with pxechn.c32  , I
> think I found a version from Dag W. but it needs a password.

I managed to install syslinux-5.10-1.el7.rfx.x86_64.rpm

LABEL Windows Deployment Services pxechn.c32
   KERNEL pxechn.c32 10.87.0.202:boot\x64\wdsnbp.com

Gives me an error:

Attempting to load  "10.87.0.202:boot\x64\wdsnbp.com": 2:No such file or 
diractory USAGE:...

I tried
KERNEL pxechn.c32 10.87.0.202:\boot\x64\wdsnbp.com
KERNEL pxechn.c32 10.87.0.202::boot\x64\wdsnbp.com
KERNEL pxechn.c32 10.87.0.202:boot\x64\wdsnbp.com -W
KERNEL pxechn.c32 10.87.0.202:boot\x64\wdsnbp.com


>
>>> # cat  /etc/dnsmasq.d/provisioning.conf
>>> port=0
>>> log-dhcp
>>> dhcp-range=10.87.3.19,proxy,255.255.248.0
>>> dhcp-boot=pxelinux.0
>>> pxe-service=X86PC,"Network Boot",pxelinux
>>> enable-tftp
>>> tftp-root=/srv/tftp
>>>
>>> # output after choosing the "Windows Deployment Services" option, how
>>> can I
>>> stop WDSNBP to retry to connect to 10.87.3.19 instead of 10.87.0.202
>>> to whom
>>> I was pxechaining?
>>>
>>> TFTP boot: 10.97.0.202 \boot\x64\wdsnbp.com
>>>
>>> Downloaded WDSNBP from 10.87.0.202
>>>
>>> WDSNBP started using DHCP Referral.
>>> Contacting Server: 10.87.3.19 (Gateway: 0.0.0.0)..
>>> No response from Windows Deplyment sever
>>> Lauching pxeboot.com...
>>> TFTP download failed.
>>> PXE-M0F: Exiting Intel PXE ROM.
>>> Operating System not found
>>


More information about the Syslinux mailing list