Problems with certain NICs and a RIS-based Windows XP installation
Written by: Mark Wilson
After my hard disk failure last month, I decided to resurrect a project that I had shelved some time ago – implementing an unattended setup for my PCs at home. I have a variety of computers from HP (Compaq), IBM and Dell, which makes things slightly more complicated than it might otherwise be (although not impossible), so this was an opportunity to implement some of the business desktop deployment (BDD) technologies that I practise at work to implement a standard operating environment (SOE) and allow me to rebuild PCs at will.
My previous experience with unattended installations has largely been on the server side, basically amending and appending OEM installation scripts (e.g. Compaq/HP SmartStart or the HP ProLiant Essentials Rapid Deployment Pack (RDP)). This time I had a plethora of drivers to consider, and a limited (zero) budget. To allow for a repeatable, customisable, build I decided not to use any imaging technologies but instead to create a standard unattended setup, including all the drivers needed for the various PCs and a common set of applications. One thing I could rely on the presence of was Pre-boot eXecution Environment (PXE)-enabled workstations, so I set up and configured Microsoft Remote Installation Services (RIS) to serve my Windows XP + SP2 installation “image” (not really an image, but that’s the RIS terminology).
Incidentally, the most complete resource for information on creating unattended builds that I am aware of is the Microsoft Software Forum Network’s “Creating the Ultimate Unattended XP CD”. Although CD based, this gives much of the information needed for a successful RIS-based installation.
Everything was looking good until I tried to perform a PXE network service boot and connect to the RIS server. I could see that my DHCP server was issuing IP addresses to clients but they received an error:
PXE-E53: No Boot Filename Received
Basically, the PXE clients couldn’t find the RIS server. DHCP was being served from an ADSL router and I couldn’t find any way to configure the router to redirect PXE clients. Logically, interaction between the PXE client, the DHCP server and the RIS server should not have been affected by the router because PXE uses DHCP broadcast requests and all the computers were all on the same subnet but once DHCP was migrated to the RIS server, the error disappeared and the RIS Client Installation Wizard ran as expected. Since then, I’ve found Microsoft PSS’ Technical Guide to Remote Installation Services, which suggests various troubleshooting actions but for now it works, so maybe I’ll investigate further some other time.
The next issue was that Windows XP setup failed as the network drivers for the Broadcom BC570x NIC in my Dell Latitude D600 were not available from the Windows XP installation source:
The operating system image you selected does not contain the necessary drivers for your network adapter. Try selecting a different operating system image. If the problem persists, contact your administrator. Setup cannot continue. Press any key to exit.
Microsoft state that a hot fix is required to resolve this issue; however the Broadcom driver FAQ gives an alternative resolution which involves editing the B57WIN32.INF setup information file. I didn’t want to do this as it would break the digital signature and I would prefer to construct the build using signed drivers only. Instead, I used the latest drivers (v7.86) from Broadcom rather than the Dell-packaged version and once I had integrated the network drivers with the RIS installation source, deleted any instances of precompiled setup information (.PNF) files and restarted the Boot Information Negotiation Layer service, I was able to commence my unattended Windows setup.
This time, a new error halted text-mode setup:
File b57w2k.sys caused an unexpected error (21) at line 3788 in d:\xpsprtm\base\boot\setup\setup.c. Press any key to continue.
Some posts in the Bink.nu and MSFN forums led me to a solution for this by copying the Windows 2000 version of the drivers (B57W2K.SYS) to the Windows XP installation source \i386 folder alongside the Windows XP driver (B57XP32.SYS) and the setup information file (B57WIN32.INF).
Once the Dell PC was working, I had the same issue with an IBM ThinkPad T40 with an Intel PRO/100 VE card and so it seems logical to assume that this issue may apply to a variety of NICs.
For the BC570x, a Windows User Group (Nordic) article which discusses integration of Intel and Broadcom drivers with RIS images suggests rewriting the B57WIN32.INF file to replace all references to B57W2K.SYS with B57XP32.SYS, but again, I avoided this to prevent issues with unsigned drivers. Intel’s solution to installing PRO/100 or PRO/1000 NICs via RIS requires a further download but I got it working by applying the same resolution as for the Broadcom drivers – i.e. using IBM’s distribution of the Intel drivers (v7.0.28.0) and including the Windows 2000 E100BNT5.SYS driver in the Windows XP installation source \i386 folder for text-mode setup.
I should point out that it was only necessary to add these network drivers to the \i386 folder on the Windows XP installation source in order to use the NIC to copy files during setup and it is still necessary to add OEM device drivers to the Windows XP installation source for all undetected devices in order to allow the drivers to be used during the plug and play (PnP) section of setup.
After a couple of days downloading, integrating and testing drivers, my RIS-based Windows XP installation works for all of my computers and now I can focus on the finer points of the build, tuning the Windows XP installation and adding applications to my SOE.
Posted: 12:50 on Tuesday 11 January 2005 under OS deployment, PC hardware, Windows XP.
Comments: 21
RSS (for comments on this post only)Share This
Comments
Pingback from Mark’s (we)Blog » Discovering unknown devices in Windows
Time: Tuesday 11 January 2005, 12:50
[...] developing my unattended Windows XP build, I came across a number of devices that were not automatically detected by [...]
Pingback from Mark’s (we)Blog » Installing applications silently (or at least quietly)
Time: Tuesday 15 February 2005, 9:44
[...] part of the ongoing development of my unattended Windows XP build, I need to install core applications without any user intervention. Anybody who has attempted any [...]
Pingback from Mark’s (we)Blog » Trials and tribulations with RIS
Time: Tuesday 15 February 2005, 18:58
[...] a few weeks developing my unattended PC build using physical PCs, today I needed to deploy a virtual PC (VPC). It should be simple to boot a VPC [...]
Comment from Anonymous
Time: Sunday 27 February 2005, 22:05
Re DHCP problem .. I have found that it is not possible to have the DHCP server service present on a RIS server, unless it is the active DHCP server for the subnet. In your example, was the DHCP server service present on your RIS server, but not in use (ie no scope of inactive scope)?
Comment from Anonymous
Time: Friday 13 May 2005, 19:53
I’ve had similar problems with DHCP and RIS clients. In my case I had DHCP active and running on the RIS server. What was preventing the clients from connecting was the default gateway I had set in my scope options. The RIS clients were having problems because they were looking to the gateway for RIS. Removing the default gateway option from the scope fixed the problem.
Comment from Anonymous
Time: Thursday 19 May 2005, 15:47
Mark,
I had similar problem. This really helped me. Thanks
Comment from JadeKnight
Time: Tuesday 24 May 2005, 9:45
Great blog dude
Comment from Anonymous
Time: Wednesday 22 June 2005, 9:58
I tip my virtual hat to you, pal. You helped me solve a RIS problem I had with a HP Proliant DL380 G4 server. Thanks!
Comment from Anonymous
Time: Friday 24 June 2005, 14:04
Had exactly the same problem with a Broadcom driver, the solution could have taken hours to figure out if I hadn’t read your blog, thanks very much!
Comment from Anonymous
Time: Monday 27 June 2005, 20:10
Thanks for the Broadcom driver solution.
Comment from Derek
Time: Monday 5 December 2005, 20:25
Thanks Mark,
I’ve been working on an Intel driver RIS Problem all morning, but this post finally pointed me in the right direction. Good work.
Comment from DoelaCH
Time: Monday 12 December 2005, 11:34
Hi,
thank you for this interesting information. I am in the middle of all this right now, so I can make good use of it, thanks!
Doela, CH
Comment from Anonymous
Time: Wednesday 18 January 2006, 10:28
It seems like my problem is pretty similar. I’ve got the RIS and DHCP on one win 2k3 Server with 3 nics for 3 subnets. I only got trouble with the following combination:
-Intel Pro NIC on the server (only one subnet, the others have different NICs and work)
-Broadcom NetXtream NIC on the client
-DHCP reservation(!!!!!!)
If I don’t make a reservation, the client gets a free IP out of the subnet and RIS and later DHCP in Win XP works great. If I make the Reservation, RIS won’t work and DHCP in Win XP doesn’t work either!!!
Comment from Anonymous
Time: Thursday 8 June 2006, 10:08
had the same problem with a d600. copying the w2k file fixed it. thanks man!
Comment from Anonymous
Time: Wednesday 21 June 2006, 12:24
If your DHCP-Server and your RIS are on different machines, you need these entries on your DHCP-Server:
066 Boot Server Host Name = IP address of my RIS server and
067 Bootfile Name = OSchooser\i386\startrom.com
Comment from TonyM
Time: Friday 28 July 2006, 15:31
I to am having problems with RIS
I quickly over came the problems with the Broadcom Drivers
but now the install stops with the error “File iastor.sys caused an unexpected error (21) at line 3540 in d:\xpsprtm\base\boot\setup\setup.c
Comment from Anonymous
Time: Tuesday 29 August 2006, 13:59
Thank you a thousand times over. In setting up RIS to image multiple HO DL380 G4 systems your workaround for the broadcom driver saves me huorsof search and destroy. Wouldn’t it be nice if HP actually used a native driver.
Comment from Chris H.
Time: Wednesday 25 April 2007, 19:48
Couple years later, this is still helping people! Thanks man!
Comment from hartmut
Time: Tuesday 29 May 2007, 14:03
1001 thanks!!!
i had the same driver problem with setting up windows xp sp2 via ris on an ibm thinkpad t43p with broadcom netxtreme (“The operating system image you selected does not contain the necessary drivers for your network adapter. Try selecting a different operating system image. If the problem persists, contact your administrator. Setup cannot continue. Press any key to exit.”)
i’ve been trying different ways to solve the problem, which took me hours and hours (also contacted lenovo support – they also had no idea).
hard to believe that it’s as simple as adding the w2k-driver to the installation source!
many thanks again!!!


Write a comment
Please note the rules for comments and the privacy policy and data protection notice. I'm sorry but, because not everyone sticks to the rules, I've had to implement some spam prevention measures - if you're experiencing difficulties leaving a comment, please let me know.