How to setup a PXE boot server?

10

6

I want to try and setup a PXE boot server for a laptop that has a damaged hard drive. I have a custom built desktop with Windows 7 Ultimate x64 and I want to make it my server so I can use my laptop to boot from an image. I have been looking all over the internet and could not find a clear article that shows step by step. I have heard of CCBoot but I am not sure how to use it. Can someone point me into the direction I need to go or show me an article?

Moussa Harajli

Posted 2013-03-22T21:55:31.643

Reputation: 205

Answers

15

You would need to setup a DHCP server for handling the assignment of the IP address to the laptop, and then set up a PXE server to handle the boot file transfers.

To do both of these functions, I would recommend you install TFTPD, available here: http://tftpd32.jounin.net/

Basic steps are:

  • Download and install TFTPD, and then add port 69 to the Windows Firewall exceptions list (Control Panel - Security - Firewall).

  • Assign your computer a static IP address.

  • Configure TFTPD with the bootfile location and DHCP range.

  • Connect the two computers with a crossover cable, or use a switch and patch cables.

  • Boot the laptop with the network boot (PXE) option enabled.

To boot a Windows image, I recommend Steve's answer: How to install Windows 7 from the network?

Jake Andrew

Posted 2013-03-22T21:55:31.643

Reputation: 319

what does "Configure TFTPD with the bootfile location" mean? how is TFTPD configured to read a bootfile? what file boots? – activedecay – 2016-12-17T19:40:56.840

Chrome seems to have blacklisted TFPTD. Following the link right now gives me a security warning screen. – Pedro Lamarão – 2017-05-23T21:14:27.393

That's okay. Please 'up vote' my answer if you've found it helpful. – Jake Andrew – 2013-03-22T22:50:21.527

This was my 3rd time on here so i dont have much rep all i could do was accept your answer. – Moussa Harajli – 2013-03-23T03:40:37.727

No problem - that's okay. – Jake Andrew – 2013-03-23T13:40:28.553

I don't have a crossover cable. Can I do it using my wifi router? It has DHCP I believe. (edit: oops, is that what you meant by "use a switch and patch cable"?) – André Chalella – 2013-07-24T12:35:45.797

Ok, tried it and no, default route firmware won't work. Custom firmwares like DD-WRT can do it though. – André Chalella – 2013-07-24T19:50:33.823

@AndréNeves If you connect the devices to your broadband router, that will work the same as using a router. What you'll need to do though is temporarily disable the router's DHCP option and let TFTPD take over the DHCP requests why you image the machine. – Jake Andrew – 2013-07-25T20:10:43.810

1Jake, in my researching I figured it wouldn't work because the DHCP requests from the client wouldn't be broadcast in order to reach TFTPD. – André Chalella – 2013-07-30T12:40:01.653

1

Just set up and configure WDS (Windows Deployment Services) and it automatically sets it all up for you. Just boot your client PC from LAN and it will automatically find the server and then boot from it. You can then choose what to install.

test

Posted 2013-03-22T21:55:31.643

Reputation: 11

0

WDS is severely limited when it comes to PXE booting non-Microsoft operating systems and should only be used for Windows environments, although you can install a completely different operating system from Windows PE.

TFTPD32/64 is a usefull tool if you can get it to work. It allows for a lot more flexibility but it requires some experimenting.

Personally like CCBoot a lot, since I also use VMWare to prepare installations, which images can be loaded as boot images.

user236800

Posted 2013-03-22T21:55:31.643

Reputation: 1

-2

WDS is a windows server role that can accomplish what you are asking.

http://technet.microsoft.com/en-us/library/cc766320(v=ws.10).aspx

bob

Posted 2013-03-22T21:55:31.643

Reputation: 1

please state on your answer at least the key requirements for the desired effect instead of just using the link as an answer. if the link ever gets broken, so does your whole answer. – Lorenzo Von Matterhorn – 2013-03-30T17:59:27.953

@bob WDS does not work on Windows 7 Ultimate x64 as required by the question – Pat – 2013-04-02T23:11:00.380