Server 2003 RIS unexpected error (21) after riprep of an image with new Mass Storage Device drivers
Posted on 2006-07-12
I am trying to build a new image for a new Compaq nc6320 laptop which has the intel 945GM chipset. I had to modify my RIS flat image of XP SP2 to incorporate the new SATA controler. To do this I added the directory $OEM$\Textmode with the appropriate drivers and added a [MassStorageDrivers] and [OEMBootFiles] section in the ristndrd.sif with the appropriate entries. I also copied the files to the i386 folder. This worked well and I was able to load a base Windows XP SP2 installation onto the laptop.
After I finished applying my changes to this new installation I created my system image using riprep.exe which completed normally. I then modified my new image riprep.sif file to include the same new [MassStorageDrivers] and [OEMBootFiles] and created the $OEM$\Textmode directory and copied the driver files into it. However, now when I try to load the image on a laptop, the process can not finish the textmode stage and stops half way with the following error: Unexpected Error (21) in txtsetup.oem on line 1742 in d:\xpsp1\base\boot\setup\oemdisk.c
I can see the copied drivers in the i386\Mirror1\UserData\Drivers but I don't think the RIS can load them during the textmode setup. The directory structure after a riprep is not the same as a flat installation directory on the RIS and wonder if the textmode files need to be copied somewhere else.
I am hoping someone else has encountered this and was able to find the solution.