Setup PXE Booting to Install Windows and Linux with Serva

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. 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!

  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:
    Serva
  6. Click on the DHCP tab and set proxyDHCP (if you already have a DHCP server or DHCP router) and tick the BINL box.
    Serva
  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.

Troubleshooting

  • After connecting the network cable, watch the Windows SystemTray network icon - wait until the icon animation has stopped (usually 1-2 minutes) before you attempt to start Serva.
  • If you having problems, try disabling the Windows Firewall on your PC and temporarily stopping your Anti-Virus protection,.
  • If you are using a router as a hub, disconnect any other Ethernet cable except for the target PXE system and your Serva Windows PC.
  • Try a different PXE client notebook or PC - some PXE BIOSes are buggy (not all PXE BIOS ROMs support proxyDHCP PXE booting)!
  • If it starts to load the OS installation files and then stops with an error message - see here.
  • If you are installing XP and you just see the black screen with the XP logo, make sure you have set up the Share on the C:\SERVA_ROOT folder correctly and followed the Null Session Share instructions.
  • If the client is having communication problems with the Serva host PC (e.g. PXE client is not receiving the DHCP offer or lots of timeouts, etc.) try switching off and on your router - if still no joy, switch off your host PC, client PC and router. Then switch on the router, wait 1 minute and the switch on your host PC. Now try again!

Comments

Popular posts from this blog

Reduce TIME_WAIT Socket Connections