A new utility has just appeared which makes installing Windows XP, 2003, Vista, Win 7, Win 8 or Win 2K8 via PXE very easy!
It is called Serva and can be found here. It does NOT require the Windows WAIK to be installed and is quite a small download - with it you can set up a RIS and WDS server on your Windows PC and you don't need to even touch any existing DHCP server or router!
The instructions are easy to follow, but here is what I did to get PXE booting and a Windows 7 install going in just 5-15 minutes!
I have a typical home network - an ADSL router which has four Ethernet ports (and a wireless aerial) and a Windows 7 PC. The target PXE boot PC was an Asus netbook.
Windows PC <------> Dlink ADSL router + 4 port hub <-------> any other PXE-boot capable computer
(Win 7 + Serva PXE & TFTP Server) (PXE client)
1. Download Serva from the Serva website (the non-supporter version is free)
2. Run the download to unpack the files and copy the Serva files to any convenient folder on your Windows hard disk (you might like to make a link on your Desktop to the exe)
3. Create a C:\SERVA_ROOT empty folder
4. Run Serva.exe and click on the Settings button at the bottom (if you get a Windows FireWall warning then ALLOW the program access through the firewall)
5. Click on the TFTP tab and set the Root directory to C:\SERVA_ROOT and tick the TFTP Server box as shown below:
6. Click on the DHCP tab and set proxyDHCP (if you already have a DHCP server or DHCP router) and tick the BINL box.
7. Quit the app and re-run the Serva.exe app again. This is necessary because when Serva re-starts it will generate the PXE download files according to what folders you have created. Serva only does this when it starts. If you make any changes to the folders under C:\SERVA_ROOT then you should always quit and re-run Serva before you try a PXE boot.
8. Check that there are now some folders underneath the C;\SERVA_ROOT folder
9. Set up a Windows share to the C:\SERVA_ROOT\WIA_WDS folder and after that, use the Windows Advanced Properties dialogue (click on the folder and then click Properties - Sharing) to set access for Everyone and set the Share name to WIA_WDS_SHARE.
10. Copy the contents of your Windows 7 (or Win8 or Vista or Server 2K8R2) DVD to a new folder - e.g. copy a Win 7 SP1 32-bit install DVD to C:\SERVA_ROOT\WIA_WDS\Win7_32_SP1
11. If you have more DVDs, just make a new folder for each of them under C:\SERVA_ROOT\WIA_WDS
12. If you have NT OS source files (e.g. 2003, XP or Server2K8 non-R2) then put these under C:\SERVA_ROOT\WIA_RIS and share the C:\SERVA_ROOT folder as WIA_RIS_SHARE (see doc on website). Make sure "Everyone" group has read permission on the just created share. You also need to set a Null Session share on the C:\SERVA_ROOT folder.
13. Quit the Serva app and re-run it
14. Now try to PXE boot your target system
15. For a WDS install (Vista, Win7,Win8, SVR2K8R2), you will be prompted for a username and password - use your host PC computername\username and password - e.g. mynewHP\Administrator myhppwd.
That's it - now try to PXE boot a system over Ethernet.
I would recommend using a Windows 7 or 8 32-bit install folder (copy of the install DVD) to start with as these will have the most network drivers in them already and will work on any CPU. The troubleshoooting documentation on the Serva website explains how to add OS network drivers if the standard Microsoft install files do not already contain the correct network driver for your target systems.
Note: grldr and grub.exe will not work if the PXE server is using proxyDHCP mode. Grub4dos does not currently support this feature. To use grub4dos your PXE server must also be the DHCP server (i.e. do not use proxyDHCP mode and disable your DHCP server services whilst Serva is running).
You can PXE boot using Oracle VM Virtual Box to test that PXE booting is working.
1. Add a new Virtual machine which has a virtual hard disk that you can install the OS onto.
2. Set up the Network Adapter to Bridged and set the Name to the physical network adapter on your host system (see below).
3. Run the VM and press F12 to get the BIOS boot option menu:
Press L to boot from the LAN. You should then see the Serva menu if PXE booting was successful:
You can now install XP or Win7 to your virtual hard disk (if you wish).
Win7 logon pop-up. You may need to add the correct Win 7 network drivers if they are not already in Win 7 WinPE.
Please read here to see how to boot various linux distros using SERVA.
See here for booting Ubuntu with Serva 2.1.