Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HOWTO: Add Third Party Mass Storage Drivers To Windows 2000 Bootable CD For A Completely Automated Install

67 views
Skip to first unread message

Ausm...@yahoo.com

unread,
May 10, 2003, 5:48:44 PM5/10/03
to
I've been working on adding third party mass storage drivers to a
Windows 2000 Server CD for some time now and I finally have it
working.
Below I have outlined the procedure that I used to add the drivers for
the virtual SCSI adapter in VMWare workstation 4.0 and for the Compaq
Smart Array 5i SCSI RAID adapter in Compaq DL360 / DL380 & DL580 G2
servers.
Look on my web page @
http://patricks.naoise.com/
for updates and additional drivers (IBM ServeRAID 5i, LSI FC HBA,
Emelux LP950, Dell PERC etc) that I am working on adding to my CD.

I first built a Windows 2000 Advanced Server CD using Bryan Berns life
saving "Windows CD Compiler" script available @
http://berns.cae.wisc.edu/pages/wincdman.asp

I slipstreamed the CD with SP3 and added some hotfixes, IE 6.1 and
.NET framework 1.1
Be very careful in picking exactly what hotfixes you put on the CD,
some hotfixes will BSOD the install. I think that this might be due to
a flaw in the way Bryan's script replaces certain files during the CD
creation, but I haven't fully tested this theory... Anyway for the
moment I'd recommend starting with adding just SP3 and then adding
hotfixes one by one (or even manually) once you have a working CD. If
you get strange global catalog errors at the start of GUI mode install
then you should back out the last hotfix you added...

I created the following CD structure

+---$OEM$
¦ +---$$
¦ ¦ +---System32
¦ +---$1
¦ ¦ +---Temp
¦ ¦ +---Drivers
¦ ¦ ¦ +---Network
¦ ¦ ¦ ¦ +---Broadcom
¦ ¦ ¦ ¦ +---Intel
¦ ¦ ¦ +---SCSI
¦ ¦ ¦ +---CpqAry5x
¦ ¦ ¦ +---VMWare
¦ ¦ +---Scripts
¦ +---.NET
¦ +---IE
¦ +---TextMode
+---i386
+---SVCPACK
+---SYSTEM32
+---UNIPROC

I placed the expanded driver disks in the appropriate directories and
then added the following lines to my WINNT.SIF file on a floppy.

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
OemFilesPath="..\$OEM$"
OverwriteOemFilesOnUpgrade=No
TargetPath=\Windows
ExtendOemPartition=1
; See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q250380
; for why this must be = Ignore
DriverSigningPolicy=Ignore
FileSystem=ConvertNTFS

OemPnPDriversPath="Temp\Drivers\SCSI\CpqAry5x;Temp\Drivers\SCSI\VMScsi;Temp\Drivers\Network\Broadcom;Temp\Drivers\Network\Intel"

Then I edited the DOSNET.INF, TXTSETUP.INF & HIVESYS.INF files, I had
problems when I edited the LAYOUT.INF file like some prior posters
said they had done. The CD worked fine without editing LAYOUT.INF.

Beware that lines posted here may wrap! If you paste wrapped lines
into your INF or SIF files they will NOT work.

============================================================

Make the following modifications to DOSNET.INF

[Files]
d1,cpqcissm.sys
d1,vmscsi.sys

============================================================

Make the following modifications to TXTSETUP.INF

[SourceDisksFiles]
cpqcissm.sys = 2,,,,,,_x,4,0,0
vmscsi.sys = 2,,,,,,_x,4,0,0

Note:
The syntax of the lines above is CRITICAL and seems to be
undocumented. (This is Microsoft remember). The syntax of these lines
seems to different in NT & XP, I haven't looked at 2003's syntax yet,
but I'd imagine that it is similar to XP's. So don't expect this doc
to work for anything other than Win2K...

[HardwareIdsDatabase]
; Compaq Smart Array 5i
PCI\VEN_0E11&DEV_B060&SUBSYS_40700E11 = "cpqcissm"
PCI\VEN_0E11&DEV_B178&SUBSYS_40800E11 = "cpqcissm"
PCI\VEN_0E11&DEV_B178&SUBSYS_40820E11 = "cpqcissm"
PCI\VEN_0E11&DEV_B178&SUBSYS_40830E11 = "cpqcissm"
PCI\VEN_0E11&DEV_0046&SUBSYS_409A0E11 = "cpqcissm"
PCI\VEN_0E11&DEV_0046&SUBSYS_409B0E11 = "cpqcissm"
; VMWare SCSI Adapter
PCI\VEN_104B&DEV_1040 = "vmscsi"

[SCSI.Load]
cpqcissm = cpqcissm.sys,4
vmscsi = vmscsi.sys,4

[SCSI]
cpqcissm = "Compaq Smart Array 5i"
vmscsi = "VMware SCSI Controller"

============================================================

Make the following modifications to HIVESYS.INF

[AddReg]
; Compaq Smart Array 5i SCSI Controller
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm","ErrorControl",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm","Group",0x00000002,"SCSI
miniport"
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm","Start",0x00010003,4
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm","Tag",0x00010003,259
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm","Type",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm\Parameters",,0x00000012
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm\Parameters\Device","NumberOfRequests",0x00010001,0x80
HKLM,"SYSTEM\CurrentControlSet\Services\cpqcissm\Parameters\PnpInterface","5",0x00010003,1
; VMWare Virtual SCSI Controller
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi","ErrorControl",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi","Group",0x00000002,"SCSI
miniport"
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi","Start",0x00010003,4
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi","Tag",0x00010003,259
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi","Type",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi\Parameters",,0x00000012
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi\Parameters\Device","NumberOfRequests",0x00010001,0x80
HKLM,"SYSTEM\CurrentControlSet\Services\vmscsi\Parameters\PnpInterface","5",0x00010003,1
; Compaq Smart Array 5i
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\cpqcissm","EventMessageFile",0x00020002,"%SystemRoot%\System32\IoLogMsg.dll"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\cpqcissm","TypesSupported",0x00010003,7
; VMWare Virtual SCSI Controller
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\vmscsi","EventMessageFile",0x00020002,"%SystemRoot%\System32\IoLogMsg.dll"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\vmscsi","TypesSupported",0x00010003,7

============================================================

Acknowledgements / Useful Links

Bryan Berns "Windows CD Compiler"
http://berns.cae.wisc.edu/pages/wincdman.asp

The Tech Guide Forum
http://www.thetechguide.com/forum/

Real Men Don't Click
http://isg.ee.ethz.ch/tools/realmen/

Microsoft Prescriptive Architecture Kit
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/itsolutions/edc/pak/build/default.asp

Windows 2000 Unattended Installations and related utilities
http://www.willowhayes.co.uk/

Integrate current drivers and updates on the Windows XP CD (German)
http://translate.google.com/translate?u=http%3A%2F%2Fwww.winhelpline.info%2Fdaten%2Findex.php%3Fshownews%3D486&langpair=de%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools

Make an IE-Free Windows 2000
http://home.earthlink.net/~vorck/

Scripted Windows 2000 Server Build Procedure Outline
http://www.huddlestons.com/TechWriting/ML530%20Build%20Doc.htm

Specifying Multiple Network Adapters in Unattended Setup
http://support.microsoft.com/?kbid=229762

How to Add OEM Plug and Play Drivers to Windows Installations
http://support.microsoft.com/?kbid=254078

How to Slipstream Hotfixes That Replace Pre-Existing Driver Files
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b814847

How to Add OEM Mass Storage Drivers to the Windows Recovery Console
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B817616

Customizing Unattended Win2K Installations
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2kmag01/html/custominstall.asp

The txtsetup.oem File Format
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/create-inf_4l47.asp

And many other UseNet posters before me whose posts gave me vital
nuggets of information that allowed me to build this CD.

0 new messages