Building a PXE/WDS infrastructure with both Windows Server 2008 and Linux PXE Server

8,896

Solution 1

  1. Yes
  2. Yes

    • For MS DHCP Server, open the DHCP MMC, under the relevant scope create a reservation with the apporpriate IP and MAC address, then assign the options under that reservation.
    • For ISC-DHCPd, create a host reservation section under the Scope definitions similar to:

      subnet 192.168.0.0 netmask 255.255.255.0 {
          range 192.168.0.10 192.168.0.50;
          other options might be here...
      
          host pxeclient {
              harware ethernet 02:01:03:04:05:06
              next-server pxe.server.example.com
              filename "option 67"
          }
      }
      

For the WDS server option 066 (next-server) should be the IP of the WDS server; and option 067 (filename) should be "boot\x86\wdsnbp.com". You'll have to figure out the settings for the PXE server, but it should be pretty similar (and already setup and running as I understand the Question).

If your PXE boot *nix clients have NFS roots the option for that is option root-path "nfsserver.example.com:/path/to/rootfs"

Solution 2

If you'd prefer to select from a menu instead of pre-assigning MAC address, then you can use a pxelinux menu, too.

Set your pxelinux server as the primary boot server, get the pxechain.com module from syslinux, then configure a menu option to forward to the WDS server:

label wds
    menu label WDS
    kernel pxechain.com
    append 10.x.x.x::Boot\x86\wdsnbp.com

Swap in the right IP address and path to wdsnbp.com and you should be all set.

Share:
8,896

Related videos on Youtube

Premo89
Author by

Premo89

Updated on September 18, 2022

Comments

  • Premo89
    Premo89 over 1 year

    What I want to do is the following:

    I have a Windows Server 2008 R2 (DC) with a running Active Directory. I added the role Windows Deployment Services and installed both Windows® Automated Installation Kit (AIK) for Windows® 7 and Microsoft Deployment Toolkit (MDT) 2010 Update 1.

    On the other hand I have a Linux Debian 6 server with a LINBO installation. So there is a running DHCP Server and a TFTP Server with all the images running on that server. In the network there is also a working DNS Server.

    Now it should be possible to PXE boot a client and depending on the MAC address in the dhcpd.conf it starts LINBO or WDS.

    1. Is it possible after all?
    2. Does anyone know how to do this?

    Thanks in advance!

  • JohnnyFromBF
    JohnnyFromBF over 12 years
    thanks for this hint, but the principal wants it that way. do you have a clue why this weird thing is happening? here's the screenshot
  • JohnnyFromBF
    JohnnyFromBF over 12 years
    I found the solution, it has to be "Boot\x64\wdsnbp.com" so obviously it's case-sensitive. Now I have a new problem, it boots into Lite Touch PE and then gets stuck, just hanging at the screen Microsoft | Solution Accelerators - what irony.