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

Gene Cumm gene.cumm at gmail.com
Mon Jul 10 13:18:47 PDT 2017


On Mon, Jul 10, 2017 at 1:55 PM, Jelle de Jong via Syslinux
<syslinux at zytor.com> wrote:
>
>
> On 10/07/17 19:13, Jelle de Jong via Syslinux 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.
>
>
> This seems to be working!!

This is about what I would have suggested.

> https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.gz
> tar -xf syslinux-6.03.tar.gz
> cp -v syslinux-6.03/bios/com32/elflink/ldlinux/ldlinux.c32 /srv/tftp/
> cp -v syslinux-6.03/bios/com32/lib/libcom32.c32 /srv/tftp/
> cp -v syslinux-6.03/bios/com32/libutil/libutil.c32 /srv/tftp/
> cp -v syslinux-6.03/bios/com32/menu/menu.c32 /srv/tftp/
> cp -v syslinux-6.03/bios/com32/modules/linux.c32 /srv/tftp/
> cp -v syslinux-6.03/bios/core/pxelinux.0 /srv/tftp/
> cp -v syslinux-6.03/bios/core/pxelinux.0 /srv/tftp/
> cp -v syslinux-6.03/bios/com32/modules/pxechn.c32 /srv/tftp/
>
> LABEL Windows Deployment Services pxechn.c32 v2
>   KERNEL pxechn.c32
>   APPEND 10.87.0.202::Boot\x64\wdsnbp.com -W

My preference would be to make the label typeable since spaces break
it technically.

LABEL wds
  MENU LABEL Windows Deployment Services pxechn.c32 v2
  KERNEL pxechn.c32
  APPEND 10.87.0.202::Boot\x64\wdsnbp.com -W

>>>> # 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
>>>
>>>
>> _______________________________________________
>> Syslinux mailing list
>> Submissions to Syslinux at zytor.com
>> Unsubscribe or set options at:
>> http://www.zytor.com/mailman/listinfo/syslinux
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux



-- 
-Gene


More information about the Syslinux mailing list