The Bit Bucket

Friday, August 25, 2006

Set up a free PXE server on your Network

PXE is a great way of booting client machines from a network card. It's useful for accessing network resources, disk tools and imaging software and you don't have to mess around with bootable CD's or floppy disks.

Companies like Symantec sell quite high end solutions that allow PXE to be on their networks yet you don't need to spend a single penny in order to get a useful, working PXE environment - This is how you do it for free.

1. Obtain the following software:
TFTP32
WinImage
3Com's MBAUTIL (This one might be a pain to get hold of. If so, drop me an email and I can make it available for download from this site).

2. On a Windows DHCP Server (it might work on others but this is untested) add the following options:

66 Boot Server Host Name
67 Bootfile Name

Bootfile Name should be mba.pxe (Which we will create later).
Boot Server Host Name should be the IP address of where the TFTP server will live.

3. On the server you want to have acting as a PXE server install TFTP32.

4. Create a folder called PXE on the root of C:\ then Launch TFPT32 and click on Settings.

5. Configure TFTP32 as follows:
turn OFF DHCP Server, Syslog Server and SNTP Server.
Change the DEFAULT folder to C:\PXE
Close and relaunch TFTP32.

6. Install WinImage onto your workstation.

7. Either take an existing floppy boot image or take an actual bootable floppy and allow Winimage to create a IMA file. DO NOT use compressed IMZ format. For this example I'm using a bootable version of partition magic.

8. On the PXE server, create a folder called PXE and drop the IMA file from step 7 into it.

9. On the workstation or on the PXE server install the 3COM MBAUTIL tool. Because this is a 16 bit tool do NOT install it into program files. The root of C: is best.

10. Launch c:\MBAUTIL\IMGEDIT\IMGEDIT.EXE and accept all the defaults.

11. Click on 'Create a PXE menu file' - Add in options for Hard Disk boot and for the floppy disk tool you are going to convert. save this file as c:\pxe\mba.pxe

12. On the main IMGEDIT menu click on Edit an existing file.

13. Click on the IMA file in the C:\PXE folder.

14. Click on Properties and then change.

15. Change the type to TCP/IP and select the PRE-OS and WRITABLE radio buttons. You need to do this every time you modify the IMA file or drop a new one in the PXE folder.

That's It! You now have a working PXE environment. To try it boot a machine from it's network card. REMEMBER! The machine MUST be on the same subnet as the PXE server otherwise it may not be able to get across the router without additional router configs. This increases complexity and makes it a pain to troubleshoot.

Labels: ,

11 Comments:

  • Brilliant, you don't even need a server OS to run it on.

    By Anonymous Martin Phillpot, At Friday, September 01, 2006  

  • Dude is there any way of manually removing unwanted services from windows xp? i installed a rogue copy of mysql and upon installation was much vexed to find it has left behind the "mysql" service even though it's disabled and doesn't point to anything. i have a nasty suspicion that this is blocking subsequent installations from working correctly. as a result i'm forced to downgrade to service-free version 3.4

    By Anonymous jph, At Friday, September 08, 2006  

  • Hi JPH. Removing a serivce is quite easy. Just a matter of digging it out of the registry.

    There are some tools for it as well - Services seem like a good idea for a blog entry....

    By Blogger Gary Williams, At Monday, September 11, 2006  

  • Excellent documentation, you've managed to do in a single page what most take chapters to get done.

    By Anonymous Anonymous, At Wednesday, December 12, 2007  

  • Thanks, got it going with no sweat using a floppy image updated by Microsoft Virtual PC.

    By Blogger Gerrit, At Monday, March 17, 2008  

  • Brilliant money saving software i live in kent too the only thing is thhat when i boot by diskless pc up with the software and it said in the PXE boot: PXE failed press F1 to try again whts wrong plese tell me.

    By Anonymous Anonymous, At Tuesday, April 22, 2008  

  • TFTP32 can be actually used as DHCP PXE server at the same time. It really works !!! Thx a lot, Piotr

    By Anonymous Anonymous, At Sunday, August 24, 2008  

  • hiii...gary...ur post is very good...its so knowledgeable...hey buddy, i hav a problem...i m unable to download dat software '3COM's MBAUTIL'...plz can u provide me this software...thnks in advance..
    with regards.
    Amit..
    my email id :
    amit.wadhwa313@gmail.com

    By Blogger Amit Wadhwa, At Wednesday, July 15, 2009  

  • Hi, apparently a great HELP, but i cant make it work with the image files i downloaded from http://www.allbootdisks.com/download/xppro.html

    Please advise how to proceed once having these files.

    appreciate any help!

    Ali

    By Anonymous Anonymous, At Wednesday, August 19, 2009  

  • Heh - this worked first shot. GREAT page.
    Now i can customize my options.
    Thanks a million :-)

    By Blogger Chris, At Thursday, September 24, 2009  

  • Hey guys..Do we have any video for the creation of PXE Server??Pls help if possible...thanks in advance...

    By Anonymous Anonymous, At Monday, March 08, 2010  

Post a Comment

Subscribe to Post Comments [Atom]



<$I18N$LinksToThisPost>:

Create a Link

<< Home