Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

TEXTMODE MassStorageDrivers Method

- - - - -

  • Please log in to reply
139 replies to this topic

#1
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
RASOR IS CURRENTLY *NOT* AVAILABLE (NO ETA SET)
I have written a utility called RASOR that is able to slipstream drivers with this method. It can be found: HERE.


UPDATE: 10/15/2004
  • Guide updated to reflect new research from members, especially rcordorica
  • Known working list added
  • Previous update notices removed
KNOWN WORKING LIST:
  • 3ware 7k/8k Driver
  • Silicon Image 3112r Driver
PREAMBLE
First, if there has already been a big post on this then I'm sorry for making another one. Second, I tend to have *very* verbose posts, so I will try to keep this short.
Disclaimer: I only claim that this will work for my hardware setup but I am posting this in the hopes that someone else can get theirs to work as well. I will try to help where I can, but I'm no expert.

INTRO
I have a complete (for all intents and purposes) XP PRO slipstream via XPCREATE *with* 3ware Raid 7k/8k drivers installed via the $OEM$\TEXTMODE Method; aka Method 2. From here on I'm calling this M2 because I'm tired of typing it out so much. I have tried the txtsetup aka Raskren's aka GM's aka RyanVM aka M1 method but was never able to get the 3ware drivers to load properly with that. It doesn't seem like too many people are running 3ware Raid cards, but if you are then *this* IS the method you should use. This should not be confused with the similar but more complex method outlined by Pure Krome (which I have not tried, but I do believe works) as listed here.

SETUP
I am using a XPCD slipstreamed with SP2, WMP10, Journal Viewer, .NET framework w/ SP1

THE PART YOU CARE ABOUT: EDITING DRIVER FILES
So how do you use M2 to get your raid drivers on the CD? There have been a lot of posts about this as well as the somewhat erroneous information provided in deploy.chm (part of the MS SP1/SP2 deployment pack). I will assume you have your driver files (the equivalent of a floppy driver disk). A driver file-list *might* look like this (where driver is some relevant driver name):
  • txtsetup.oem (this file sets the driver up for textmode)
  • driver.inf (may also be named something like oeminstall.inf)
  • driver.sys (1+ driver files)
  • driver.cat (WHQL signing)
  • driver.cpl (control panel file)
  • driver.dll/.exe/.vxd (other libraries/executables for your driver)
  • disk1 (a weird disk file may or may not be included; possibly plaintext)
  • readme (of some sort)
Many driver packages will NOT include .cpl, .dll, .exe, or .vxd files. There is nothing missing and this will usually make your install even easier to deal with. *IF* however you do have any of these files you *may* need to edit your txtsetup.oem file. Once again this is only for people who have files other than .inf, .cat, .sys and .oem in their driver packages. Okay you need to open up your txtsetup.oem file (notepad or any text editor will do) and change any reference to "DLL = " to "INF = " (thanks to rcordorica for figuring this out). For some reason textsetup chokes on these entries. These entries should be easy to find and replace in the file. Save the modified file and close it. Again if you don't have any "DLL = " references in your txtsetup.oem then you don't need to change anything and you read this entire section of the guide for nothing :rolleyes:.

THE PART YOU CARE ABOUT: COPYING DRIVER FILES
Now you are ready to copy the driver files to the proper locations. You *can* strip the disk1 type files and the readme however I usually copy them for good measure. I also do not compress any of the sys files, although you *probably* could. So I choose to copy ALL of the driver files to these 2 directories:
  • $OEM$\TEXTMODE\
  • I386\$OEM$\
If you have .cpl, .dll, .exe, .vxd files you need to copy these to a third location (A really big thank you goes to rcordorica for his tireless work figuring this out). Copy these additional files to:
  • $OEM$\$$\OemDir\
THE PART YOU CARE ABOUT: EDITING WINNT.SIF
Now 2 things need to be added to winnt.sif (if you don't know what that is, you really shouldn't have gotten this far in the post).
  • A new [MassStorageDrivers] heading with 2+ entries (New Controller & CD-ROM Driver)
  • A new heading [OEMBootFiles] which will list all of the files from the new driver
This is best illustrated with my own winnt.sif (the whole of which is presented here)
;SetupMgrTag
[Data]
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    DriverSigningPolicy=Ignore
    Repartition=Yes
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    UnattendSwitch="Yes"
    WaitForReboot="No"
    TargetPath=\WINDOWS

[GuiUnattended]
    AdminPassword=XXXXX
    EncryptedAdminPassword=Yes
    OEMSkipRegional=1
    TimeZone=4
    OemSkipWelcome=1

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName="Trainee"
    OrgName="Thunderwalker"
    ComputerName=XXXXX

[Identification]
    JoinWorkgroup=XXXXX

[Networking]
    InstallDefaultComponents=Yes

[MassStorageDrivers]
"3ware Escalade 7000/8000 Series ATA RAID Controller" = "OEM"
"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"

[OEMBootFiles]
TXTSETUP.OEM
oemsetup.inf
3waregsm.cat
3WDRV100.SYS
3WFLTDRV.SYS
For the [MassStorageDrivers] entry I have been told that the listing must *exactly* match the description in txtsetup.oem. I have not confirmed this but I opened up txtsetup.oem and copied the description out of it, it should be very easy to find under the [SCSI] heading. I am 99% sure you must also list the IDE controller for your CD drive. If you don't, I don't believe that the setup can continue after the first reboot. I do not know if order matters, however I chose to list my RAID controller first followed by my IDE cd-rom controller. Anyone who has an IDE cd/dvd drive can pretty much just copy my line. The new controller should be listed as "OEM" as in look around in OEM to find the drivers. Any other controller (like the cd-rom) that use already built-in drivers should be listed as "RETAIL" as in included with the retail cd.
Now the [OEMBootFiles] listings are basically the files from your driver disk. I do not know if order is important, but I chose to list the txtsetup.oem first, followed by any .inf, .cat, .sys and so on. I do not list the readme, or the crazy Disk1 type files.

COMMON MISTAKES/MISCONCEPTIONS
  • A number of posts list the TEXTMODE directory incorrectly as TXTMODE
  • Deploy.chm states that if a txtsetup.oem file does not contain the HardwareID (as listed in the .inf) that it must be added. I know for a fact that this is WRONG. I screwed up my own install many times trying to add this to my txtsetup.oem. The 3ware txtsetup.oem does not have the hardwareID and installs perfectly.
  • Make sure to list both your new controller AND your cd-rom controller under [MassStorageDrivers]
  • There have been claims that ntfs won't read the /'s and all /'s must be changed to .'s and visa versa. IMHO: WTF.
  • In most cases you shouldn't have to alter any of the driver files including txtsetup.oem (see next point).
  • If your txtsetup.oem file contains "DLL =" entries (without the quotes), you will need to change them to "INF =" to get around a textmode parsing error (thanks rcordorica).
NOW YOU TRY IT
While this post is very long, I think you will agree that this is a fairly simple method to add drivers to your slipstreamed XP CD *IF* it works. Right now the only drivers known to work are the 3ware 7k/8k drivers and the Silicon Image 3112Raid driver. Unfortunately I don't have the hardware to test any other drivers right now. If you have any questions please ask them here, or PM me and I will do my best to answer them.

ERRATA
I'm including links to the 3ware txtsetup.oem and oemsetup.inf for reference, however neither of these files were altered (note that these were changed to .txt files so they aren't a pain to open). :) <--me, because I talk and talk and talk until even I'm bored!

Edited by trainee, 05 April 2006 - 07:58 PM.

Posted Image


How to remove advertisement from MSFN

#2
Bâshrat the Sneaky

Bâshrat the Sneaky

    aka Wim Leers

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,214 posts
  • Joined 29-October 03
  • OS:none specified
  • Country: Country Flag
Interesting post!

One remark, in fact an addition:

driver.cat (I believe this is the PnP information)


I'm quite sure this is the WHQL license.

Further no remarks! Nice guide!

#3
edmoncu

edmoncu

    Advanced Member

  • Member
  • PipPipPip
  • 331 posts
  • Joined 28-April 04
hmm, interesting. this has been a long time stumper... i suppose, this guide will enlighten us further hopes that this method is still highly usable. :)
Please join the growing Filipino Community of PC Experts and Enthusiasts
Posted Image

#4
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
I wish I could do that ...

Before deciding to use the simplified raskren method, I attempted to get the [MassStorageDevices] with no luck. I do like that it does not require TXTSETUP.SIF modification, though the way it is done is still very clean (tacking on the OEM info at the end, but you know that ... ) As soon as I get some time, I may have to have another look at this.

Still, the XPCREATE way seems to work fine for for nearly everyone. The few that don't go off and post elsewhere ...

Nice job! Thanks!

#5
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
Thanks for the comments guys! I'm sure it will take a while for people to actually try the method out on different hardware setups, since it involves formatting their hard drive(s).

@Bashrat: Thanks for the .cat clarification. And I've been meaning to say: cool avatar.

@edmoncu: yeah I saw that you've been looking at this method for well over a year now.

@GM: XPCREATE is awesome! Unfortunately the 3ware drivers aren't digitally signed which I believe is a prerequisite for their inclusion with XPCREATE. I kept trying to integrate them at a lot of different points with XPCREATE (before, after, and I even tried hacking the xpcreate.cab to put the 3ware drivers in) but no dice. I was afraid of messing up the changes that XPCREATE makes to TXTSETUP.SIF, and ultimately I was unable to make M1 work. I agree that your simplified Raskren method is clean as well (and involves fewer copies of the driver files!), I just couldn't make it work (please see additional errata below). I absolutely think that having XPCREATE detect and add the drivers is the best way to go so any chance you want to add the 3ware's to it?

Additional Errata:
I think one of the weird things about the 3ware drivers is that there are 2 drivers, but only 1 PCI/VEN ID #. I know that some drivers associate with multiple PCI ID's, but I don't know of another example where a single PCI ID associates with multiple drivers. This left me kind of dumbstruck when it came to editing the TXTSETUP.SIF. Anyone else come across a similar situation?

I'm hopeful that someone will be able to confirm M2 with another driver just so the option exists.
Posted Image

#6
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
Ah, now I remember the 3ware drivers. I did not include them, in part for the fact that, as you mention, there are two .sys file for one piece of hardware, and also because the file names did not fit in with my "conventions". There are other drivers that also list two .sys file, but not many. I am at a great disadvantage with neither hardware nor time to test these different configurations. But like I said, XPCREATE does work for the majority. Next time I pass through the SATA integration code, I'll see what I can come up with, but that is not for the near future.

#7
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts
  • Joined 03-January 04
Windows 2000 Unattended install of mass storage drivers for HP/Compaq ProLiant Servers with SmartStart Scripting Toolkit:
  • uses a single TXTSETUP.OEM
  • sample WINNT.SIF sections for all Mass Storage Drivers supported by ProLiant Servers
  • cat files are not added to OEMBootFiles section when using this method to install Mass Storage Drivers.
    The Windows setup program don't check Digital Signature during textmode part of install.
[MassStorageDrivers]
	"Adaptec Ultra160 Family Manager Set"=OEM
	"Smart Array 5300 Controller"=OEM
	"Smart Array 5i, 532, 5312 Controllers"=OEM
	"Smart Array 6i, 641, 642, 6400 EM, 6400 Controllers"=OEM
	"Compaq Smart Array Controllers"=OEM
	"Integrated Ultra ATA-100 Dual Channel Controller (Windows 2000)"=OEM
	"Integrated Ultra ATA-100 IDE RAID Controller (Windows 2000)"=OEM
	"LSI Logic Ultra320 1020/1030 Driver (Windows 2000)"=OEM
	"Carte h“te SCSI PCI Symbios Logic C8100"=RETAIL
	"Carte h“te SCSI PCI Symbios Logic C896"=RETAIL
	"Carte h“te SCSI PCI Symbios Logic C8xx"=RETAIL
	"CD-ROM IDE (ATAPI 1.2)/Contr“leur IDE PCI"=RETAIL
	"CSB-6 Ultra ATA-100 IDE RAID Controller (Windows 2000)"=OEM
[OEMBootFiles]
	ADPU160M.SYS
	CPQARRY2.SYS
	CPQCISSM.SYS
	MegaIDE.sys
	Symmpi.sys
	LsiCsb6.sys
	TXTSETUP.OEM

@BTS
Obtaining Digital Signatures for Windows Drivers
Driver Signing uses the existing Digital Signature cryptographic technology to store identifying information in a catalog file (*.cat, or CAT file). CAT files are stored in <Windir>\Catroot. This information identifies the driver as having passed testing by Windows Hardware Quality Labs (WHQL). No change is made to the driver binary itself. Instead, a CAT file is created for each driver package and the CAT file is signed with a Microsoft digital signature. The relationship between the driver package and its CAT file is referenced in the driver's INF file, and is maintained by the computer after the driver is installed.


INF File Changes
The digital signature is stored in a CAT file. The following modifications to INF files are required for IHVs/ISVs who want to obtain digital signature for their drivers:
In the [Version] section of the INF, the entry CatalogFile=<filename.cat> is added.
An entry for the CAT file in the [SourceDisksFiles] section is added. For example, an IHV submits a driver package to a WHQL that includes files named Sample.inf, Sample.drv, and Sample.txt.
If the package passes WHQL testing, WHQL will return the original Sample.inf, Sample.drv and Sample.txt with the addition of Sample.cat.
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86

#8
murk

murk

    Newbie

  • Member
  • 10 posts
  • Joined 10-November 03
I'll try it next week with Silicon Image 3112r drivers.

#9
my2001

my2001

    Member

  • Member
  • PipPip
  • 260 posts
  • Joined 31-May 04
(removed)

#10
Inferno

Inferno
  • Member
  • 1 posts
  • Joined 11-July 04
@trainee: Are you using this method for a network install of the OS or a CD install? I asked because I have been successful using this method in the network installs at work (Windows 2003), but have not had success with a CD install of Windows XP at home. When I try to do a CD install I receive the following error:

File txtsetup.oem caused an unexpected error (18) at line 1742 in d:\xpsp1\base\boot\setup\oemdisk.c

Just to be thorough, here is my txtsetup.oem file:

[Disks]
d1 = "HPT3xx ATA RAID Controller Driver Diskette",\Disk1,\

[Defaults]
scsi = hpt3xx

[scsi]
hpt3xx = "HighPoint HPT3xx ATA RAID Controller",hpt3xx

[Files.scsi.hpt3xx]
driver = d1, hpt3xx.sys, hpt3xx
driver = d1, hptpro.sys, hpt3xx
inf = d1, hpt3xx.inf, hpt3xx
catalog= d1, hpt3xx.cat

[Config.scsi.hpt3xx]
value = "", Tag, REG_DWORD, 1
value = "Parameters\PnpInterface", 5, REG_DWORD, 1

[HardwareIds.scsi.hpt3xxXP]
id = "PCI\VEN_1103&DEV_0005","hpt3xx"
id = "PCI\VEN_1103&DEV_0004","hpt3xx"
id = "PCI\VEN_1103&DEV_0006","hpt3xx"


And, a portion of my winnt.sif:

[MassStorageDrivers]
"HighPoint HPT3xx ATA RAID Controller" = "OEM"
"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"

[OEMBootFiles]
TXTSETUP.OEM
hpt3xx.sys
hptpro.sys
hpt3xx.inf
hpt3xx.cat
Disk1

I decided against posting the hpt3xx.inf file as I did not make any changes to it and it is rather large.

#11
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
@Inferno: see if this thread helps (link)

@Inferno: yes I have been successful using this method from CD. However very few people seem to have confirmed with their own hardware, so if you are up to it, lets try to get yours to work. And welcome to MSFN, I'm surprised your name wasn't taken!

First, the txtsetup.oem and your additions to the winnt.sif appear to be fine. You shouldn't need to post the .inf file however the following information / tips would be helpful:
  • When posting code / codelike files, please put them in [code=auto:0] tags because it is much easier to read
  • If possible please post your entire winnt.sif (with personal stuff like product ID removed) because some of the other entries may be relevant
  • What is the exact hardware you are trying to install?
  • Where do you get the error? (ex. before drive format, after drive format, after first reboot, during file copy, etc)
  • What does your Disk1 file contain?
Okay, here is the weird thing about your error: the filename does not appear to be associated with the driver. The file "oemdisk.c" is not listed in your txtsetup.oem or winnt.sif oembootfiles. So I don't understand how these would be related.

So have you..
  • Compared your install to the one described in the guide?
  • Copied the driver files to ALL the locations described in the guide?
  • Tried NOT listing Disk1 in your [oembootfiles] entry?
  • Ensured that your CD isn't 'FULL'? I know this sounds stupid, but I was using 650mb CD-RWs and I couldn’t figure out for about half a day why I kept getting random errors. I never had a write error, but I had crazy error 18's and file read errors for hours, until I switched to 700mb CD-R's. (no comments from the n-lite crowd please)
  • tried installing with virtualpc from the CD image? You can try a failsafe this way too, without the driver files, to make sure it isn't something with the rest of the CD that is causing the problem and not the textmode driver.
I believe that a error (18) is a file not found error (but don't take my word for it). I also am not an expert on slipstreamed CD's but I use XPCREATE and the path you have listed is very different from anything I appear to have.

Hope this helps. If you tell me the exact driver I can try to replicate your problems with my slipstreamed CD in virtualpc.
Posted Image

#12
Maelstorm

Maelstorm

    AT Field Pattern Blue

  • Member
  • PipPip
  • 265 posts
  • Joined 22-July 04

File txtsetup.oem caused an unexpected error (18) at line 1742 in d:\xpsp1\base\boot\setup\oemdisk.c

Just to be thorough, here is my txtsetup.oem file:

[Disks]
d1 = "HPT3xx ATA RAID Controller Driver Diskette",\Disk1,\

I decided against posting the hpt3xx.inf file as I did not make any changes to it and it is rather large.

The problem is the d1 line. I'll bet that the directory \Disk1 does not exist on your CD? I'm not sure what that last field is for, but here's the line from my TEXTINFO.OEM file for my SCSI controller:

d1 = "SIIG AP-20/AP-40 SCSI Pro Windows XP MINIPORT DRIVERS",winxp\sc247xu.sys,winxp

In my $OEM$\TEXTMODE directory, I do have a WinXP directory. Note there is no leading backslash. I'm still working on getting my hardware to work, and this will be the first time that I try method 2. Method 1 flat refused to work.
MAELSTORM

#13
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04

d1 = "SIIG AP-20/AP-40 SCSI Pro Windows XP MINIPORT DRIVERS",winxp\sc247xu.sys,winxp

In my $OEM$\TEXTMODE directory, I do have a WinXP directory.  Note there is no leading backslash.  I'm still working on getting my hardware to work, and this will be the first time that I try method 2.  Method 1 flat refused to work.

@Maelstorm: I'm still around to help people try to make this method work, but in general I need some more info to go on that you have supplied in your previous post. What card do you have exactly? Just looking at the D1 line you quote it appears that you have either a SIIG AP-20 or AP-40 Ultra Wide Scsi controller card. Soooo.... I went over to the SIIG site to download the drivers myself. I'm guessing you have harware revision #2 with the acard chipset since hardware revision #1 already has its drivers built into winXP. I also assume that you have tried this with a floppy and everything was A-OK so you know the driver works. One of the craziest problems I ever had was when my driver download became corrupted and I didn't figure it out for hours. And again another assumption: your unattended XP cd actually does work.

Okay I don't see anything terrible awry with the TXTSETUP.OEM file but if you could tell me more about where the error occurs and what the exact error you encounter is that would be helpful. Believe it or not the wierd D1\Disk1\etc entries have yet to be the problem in the ohhhhh... two whole cases I've dealt with, but still.

I am going to go ahead and slipstream-up a set of the AP-40 using M2 and see where I can get in Virtualpc. I can't vouch for them actually working with the hardware, but I will be able to see if the TXTSETUP.OEM parses out correctly. I'll post my results ASAP, but like I said any additional information would help us both get this working for you.
Posted Image

#14
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
@Maelstorm:

Okay as far as i can tell windows doesn't have any problems parsing the TXTSETUP.OEM file with virtualpc. Even though it doesn't simulate the hardware, an XP install on virtualpc will choke if it doesn't like the file or can't find a file referenced from it (I know from experience) I have included the changes I made below for you (using M2)

Note: CDROOT\ indicates the root of you CD... so if your CD drive was D:\ then CDROOT\ would correspond to D:\ after you have created the cd.

I downloaded the driver zip from the SIIG website and unzipped it. There is a TXTSETUP.OEM file and a lot of subfolders. Since this is going to be an XP install (it is right?) we only need the TXTSETUP.OEM file and the WinXP directory. I copy the file and the whole directory to 2 locations.
CDROOT\$OEM$\TEXTMODE\TXTSETUP.OEM
CDROOT\$OEM$\TEXTMODE\WinXP\*    <the entire folder resides inside the TEXTMODE folder>
CDROOT\I386\$OEM$\TXTSETUP.OEM
CDROOT\I386\$OEM$\WinXP\*        <again the entire folder is copied>

Now a few additions need to happen in your winnt.sif:
[MassStorageDrivers]
    "SIIG AP-20/AP-40 SCSI Pro Windows XP MINIPORT DRIVER" = "OEM"
    "IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"
 
[OemBootFiles]
    TXTSETUP.OEM
    WinXP\Sc247xu.inf
    WinXP\SC247XU.SYS

See how the [OemBootFiles] entry references the subdirectory?
this is actually one of the most basic TXTSETUP.OEM files I have seen (it only reference 2 files!) so I have high hopes that this will work for you.

Below is my entire winnt.sif (with personal information x'd out of course) so that you can see all of the options I have set. I am pretty sure that you must have OemPreinstall=Yes for this method to work. Just use this as a comparison to your own.
;SetupMgrTag
[Data]
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    DriverSigningPolicy=Ignore
    Repartition=Yes
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    UnattendSwitch="Yes"
    WaitForReboot="No"
    TargetPath=\WINDOWS
    OemPnPDriversPath="Sources\System\Microsoft;Sources\System\ATI\Driver"

[GuiUnattended]
    AdminPassword=xxxxxxxx
    EncryptedAdminPassword=No
    OEMSkipRegional=1
    TimeZone=4
    OemSkipWelcome=1
    AutoLogon=Yes
    AutoLogonCount=1

[UserData]
    ProductKey=xxxxxxxx
    FullName="xxxxxxxx"
    OrgName="xxxxxxxx"
    ComputerName=xxxxxxxx

[Identification]
    JoinWorkgroup=xxxxxxxx

[Networking]
    InstallDefaultComponents=Yes

[MassStorageDrivers]
    "SIIG AP-20/AP-40 SCSI Pro Windows XP MINIPORT DRIVER" = "OEM"
    "IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"
 
[OemBootFiles]
    TXTSETUP.OEM
    WinXP\Sc247xu.inf
    WinXP\SC247XU.SYS

I hope that this helps and if you have any more problems OR SUCCESS! please post back here. If you see windows formatting your harddrive then you know that it worked! So if you have a problem subsequent to formatting then the error is somewhere else.
Posted Image

#15
ponzandro

ponzandro
  • Member
  • 4 posts
  • Joined 19-November 03
this is my first post here, and i'm really impressed by this forum.

@inferno:

File txtsetup.oem caused an unexpected error (18) at line 1742 in d:\xpsp1\base\boot\setup\oemdisk.c


i got a similar error some month ago while adding drivers to a Powerquest V2i Boot-CD.
What helped me out (after a long time of googling.....) was a thread from the Techguide Forum.

@trainee

i will try your method in the next days, i'm very interested in that.
For the moment i have to correct some bugs within my BartPE CD after upgrading to SP2 :)

#16
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
Thanks Ponzandro! I eagerly await the results of your test.

If anyone has tried this method and has problems or especially if you have been successful with this method Please Please Please post details here. I have responded to a number of posts but no one has yet told me if they were successful. I would really like to extend the known working list beyond the 3ware 7002. Thanks and good luck.
Posted Image

#17
EDDI

EDDI
  • Member
  • 3 posts
  • Joined 30-August 04
Thanks, first guide who works.

#18
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
@EDDI: Thanks, but what works? Please post what hardware you were able to successfully slipstream with this method so other people will know that it works. If you had to do anything special (different from the guide) please let us know that too. Thanks.
Posted Image

#19
EDDI

EDDI
  • Member
  • 3 posts
  • Joined 30-August 04
:hello:

what i wanted to achive:

full unattended install of windows xp professional with slipstreamed service pack 2, on harddiscs connected to a 3ware escalade 7000-2 raid-controller.

hardware used:

MB: asus tusl2-c rev. 1.04 Bios 1012 final
CPU: intel celeron 1200 MHz
RAM: 512 MB sd-ram
NIC: 3com 905b-tx
RAID: 3ware escalade 7000-2 ata-raid-controller, using softwareset 7.7.1
HDD: 2x 20 GB ibm dtla-305020 connected to 7000-2
VGA: matrox millennium g200 agp 16MB
DVD: toshiba sd-1702, connected to primary master

--------------------------------------------------------------------------------------------

software / tools used:

- windows xp cd-rom (german version)
- downloaded sp2 network install for german language (WindowsXP-KB835935-SP2-DEU.exe, ~ 260MB)
- bcd111.zip, wxp10.zip from nu2.nu page, wnaspi32.dll from ahead software, needed by bcd, is linked at nu2.nu near where bcd111.zip is located. (needed for creating iso file)
- setupmgr.exe from the windows xp support tools for sp2 (for creating winnt.sif)
- driver files from 3ware for the 7000-2 Controller (filename win2k3.zip ~ 65 kB)
--------------------------------------------------------------------------------------------

1)
create directory c:\bcd

2)
extract first bcd111.zip to c:\bcd (make sure subfolders are correct extracted), then followed by wxp10.zip.

3)
copy wnaspi32.dll to c:\bcd\bin\wnaspi32.dll.

4)
copy from your original Windows XP-CD-ROM the folder "I386" including subfolders to c:\bcd\cds\wxppro\files, so that the new structure is the following:

c:\bcd\cds\wxppro\files\I386.

5)
to slipstream sp2 into your setup files execute
"WindowsXP-KB835935-SP2-DEU.exe /integrate:c:\bcd\cds\wxppro\files"
; wait for it to finish.

6)
create the following folders:
c:\bcd\cds\wxppro\files>
mkdir $OEM$
mkdir $OEM$\Drv
mkdir $OEM$\Drv\000_3ware
mkdir $OEM$\TEXTMODE
mkdir I386\$OEM$

7)
extract the driver files into the following folders:

c:\bcd\cds\wxppro\files\$OEM$\TEXTMODE\
c:\bcd\cds\wxppro\files\$OEM$\Drv\000_3ware\
c:\bcd\cds\wxppro\files\I386\$OEM$\

8)
use setupmgr.exe to create your unattend.txt file.

9)
rename the created unattend.txt to winnt.sif

10)
I list my winnt.sif for reference:
;SetupMgrTag
[Data]
    AutoPartition=1
    MsDosInitiated="0"
    UnattendedInstall="Yes"
    AutomaticUpdates=yes

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    UnattendSwitch="yes"
    TargetPath=\WINDOWS
    DriverSigningPolicy=Ignore
    OemPnPDriversPath="Drv\000_3ware"

[GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    AutoLogon=Yes
    AutoLogonCount=1
    OEMSkipRegional=1
    TimeZone=110
    OemSkipWelcome=1

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName="Unattended"
    OrgName="Unattended"
    ComputerName=XYZ

[Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=85

[TapiLocation]
    CountryCode=49
    AreaCode=0123

[RegionalSettings]
    LanguageGroup=1
    SystemLocale=00000407
    UserLocale=00000407
    InputLocale=0407:00000407

[Branding]
    BrandIEUsingUnattended=Yes

[URL]
    Home_Page=about:blank
    Search_Page=http://www.google.de

[Shell]
    DefaultStartPanelOff=Yes
    DefaultThemesOff=Yes

[Proxy]
    Proxy_Enable=0
    Use_Same_Proxy=1

[Identification]
    JoinWorkgroup=HOME

[Components]
   msmsgs=off
   msnexplr=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   hypertrm=on

[Networking]
    InstallDefaultComponents=No

[NetAdapters]
    Adapter1=params.Adapter1

[params.Adapter1]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetServices]
    MS_SERVER=params.MS_SERVER

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    DHCP=Yes
    WINS=No
    NetBIOSOptions=0

[MassStorageDrivers]
   "AMCC 3ware 7000/8000 Series ATA RAID Controller" = "OEM"
   "IDE CD-ROM (ATAPI 1.2)/PCI IDE-Controller" = "RETAIL"

[OemBootFiles]
   TXTSETUP.OEM
   oemsetup.inf
   3wManage.inf
   AmccDrv7.cat
   3wDrv100.sys
   3wFltdrv.sys
Posted Image be sure to make no typos, especially at the [MassStorageDrivers] section. the german version has a hiphen between IDE and Controller, the english not, can be very bad, because no accessible cd-rom at the gui-setup part leads to failure.

11)
two ways now:

way one:

put the final winnt.sif to c:\bcd\cds\wxppro\files\I386\winnt.sif and create the iso file by typing the following at prompt:
c:\bcd>bcd wxppro -b
this iso file burned to a cd-rw can be used to install without a floppydrive.


way two:
put the final winnt.sif to a floppy.
create the iso file by typing the following at prompt:
c:\bcd>bcd wxppro -b
this way you can have more than one preconfigured floppies for use with that cd-rw.

12) burn the iso file to a cd-rw, i used nero burning rom for this.

13)
boot search order at bios:

1. cd-rom
2. harddisc (3ware)
3. floppy

be sure that floppy is behind both of the first.

14)
Insert the cd-rw and floppy into their drives and go for it.
you will only be prompted once for creating a partition to install to
and how to format her, the rest wents completely from alone.

PS: I know how to create a formatted partition with a BartPE cd,
then you will not even be prompted once.

Enjoy !

#20
rcordorica

rcordorica

    Windows Hacker

  • Member
  • 26 posts
  • Joined 10-August 04
Your method works! I have a Si3112r and your method allowed me to install windows onto my raid installation. However, during the GUI install portion where windows normally searches for drivers, a window pop up and tells you that it can't find the .cpl file. (actually, i am not to sure exactly which file it is). To correct the problem i just pointed to my install CD with the file. Maybe i forgot to include it in the windows $OEM$ path in the first place.

I noticed that during my first attemp at your method, i copied the wrong 3112 files (i got the 3112, not the 3112r) and the textmode setup complained that it couldn't find i386/$OEM$/si3112r.sys. So I guess that is where windows is looking for files. I think the rest of the directories you posted aren't really needed. I fixed that, but then i forgot to remove the dll= line so i got an illegal file type message.

thanx

#21
Spinman

Spinman

    Member

  • Member
  • PipPip
  • 123 posts
  • Joined 17-August 03
If I may hijack this thread - I'm totally confused about RAID and PCI Hard Disk Controllers....

From reading bits and pieces, I've setup my ATA/133 controller as follows:

[MassStorageDrivers]
"Intel® 82801BA Ultra ATA Controller" = OEM
"Primary IDE Channel" = OEM
"Secondary IDE Channel" = OEM

[OEMBootFiles]
idechndr.inf
IdeBusDr.sys
IdeChnDr.sys
Txtsetup.oem


[Unattended] OemPnPDriversPath="Drivers\000_Intel_Inf;Drivers\001_Promise_FullRaid;Drivers\002_Intel_AppAcc;Drivers\004_Intel_Lan;Drivers\005_Nec97f;Drivers\009_Maxtor_ATA

In 009_maxtor_ATA -I've included:
readme.bat
txtsetup.oem
ulcoins.dll
ultra
ultra.cat
ultra.inf
ultra.sys

I am installing windows on Drive C:\
I am installing my Documents and Settings Directory on D:\ (mirror raid)

[MassStorageDrivers]
"Intel® 82801BA Ultra ATA Controller" = OEM
"Primary IDE Channel" = OEM
"Secondary IDE Channel" = OEM
"WinXP Promise FastTrak TX2000 ™ Controller (PDC20276)" = OEM

[OEMBootFiles]
idechndr.inf
IdeBusDr.sys
IdeChnDr.sys
Txtsetup.oem
Fasttrak.sys
Fasttrak.inf
Fasttrak.cat
TXTsetup.oem

In 001_Promise_FullRaid I've included:

fasttrak
fasttrak.cat
fasttrak.inf
fasttrak.sys
readme.txt
txtsetup.oem

Because the raid is not being used for windows installation, but only for D & S setup - will I be able to install the drivers this way?

Do I have a problem with (2) txtsetup.oem references under [oembootfiles]?

I'm totally confused---

#22
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
Hey, I know there has been quite a bit of activity in this thread and I want to respond to all of your posts ASAP, but I'm on vacation through the end of the long weekend (Monday = labor day in the USA). I am reading the posts, but I don't know if I will be able to respond or research them until Tuesday at the earliest. Sorry :(
Posted Image

#23
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
@EDDI: Thanks for posting all of your installation details. As far as I know this is the only method that will work for the 3ware card so I'm glad you found it! Your experience is another great reference! Thanks again.

@rcordorica: Great! We now have the first confirmed non-3ware driver case! I am going to list the confirmation for the SiL 3112r drivers at the top of the thread. The .cpl file is the control panel file that is installed in GUI mode. This is a little utility that shows up in the control panel in windows. This is actually the same file that the TXTSETUP.OEM chokes on and why you have to remove the "dll=" line. If you could provide us with a copy of your winnt.sif and some more information on what files you put in each directory we might be able to better address this problem.

I think the rest of the directories you posted aren't really needed.

Which directories are you referring to? If you are installing from a CD you absolutely need to have a $OEM$\TEXTMODE and a I386\$OEM$\ directory. I know that you don't have to have a $OEM\Driver\* directories or reference the drivers in the winnt.sif oempnpdriverspath variable for the 3ware cards. However if properly referenced this might fix the .cpl file problem with the SiL3112 drivers. Anyway thank you for confirming the relative working state of this method with your hardware.

@Spinman: Don't worry about hijaking, your post is quite pertinent to this thread. And thank you for posting so much information, but please, please use CODE tags around your winnt.sif and other file information, it is *much* easier to read. And please post your entire winnt.sif (with personal information removed) and the TXTSETUP.OEM file (which is just plain text) so we can see if your problem is somewhere else and not directly with the driver files/setup. Okay first you have some problems with your [MassStorageDrivers] section. You don't need the primary/secondary channel stuff and you haven't listed your CD. (I am assuming you are doing a CD based install).
[MassStorageDrivers]
"Intel® 82801BA Ultra ATA Controller" = OEM
"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"

[OemBootFiles]
Txtsetup.oem
idechndr.inf
IdeBusDr.sys
IdeChnDr.sys
As long as this is the complete file list (under oembootfiles), you have copied the files to the appropriate locations, and the supplied TXTSETUP.OEM doesn't have any invalid entries this should work for your primary drive. No one is exactly sure how important case-sensitivity is so it is best to try and use the *exact* naming of the files and sections.

In 009_maxtor_ATA -I've included:
readme.bat
txtsetup.oem
ulcoins.dll
ultra
ultra.cat
ultra.inf
ultra.sys

Are these files for your Intel controller, or for your maxtor HD? Does the maxtor need them to function, or do they just improve the performance/stability of the HD? If they are neccesary to the installation and are referenced in the TXTSETUP.OEM then they need to be with the other drivers in $OEM$\TEXTMODE and I386\$OEM$ directories and referenced in the [OemBootFiles] section.

I am installing windows on Drive C:\
I am installing my Documents and Settings Directory on D:\ (mirror raid)

Now, the real question is how many of your Hard drive controllers don't have built-in drivers? Do you have to install/update drivers for both your Intel controller and your fasttrack controller? I believe that you do need a floppy for your fasttrack, but it is quite possible that you don't need additional drivers for the onboard intel (if it is in fact onboard). So you might try something like this:
[MassStorageDrivers]
"Intel® 82801BA Ultra ATA Controller" = "RETAIL"
"WinXP Promise FastTrak TX2000 ™ Controller (PDC20276)" = "OEM"
"IDE CD-ROM (ATAPI 1.2)/PCI IDE Controller" = "RETAIL"

[OemBootFiles]
TXTsetup.oem
Fasttrak.sys
Fasttrak.inf
Fasttrak.cat
You cannot have more than 1 TXTSETUP.OEM file! If you follow the guide in the 1st post you will see that you would have to copy over 1 TXTSETUP.OEM file in the $OEM$\TEXTMODE and I386\$OEM$ directories to do this! If you have more than 1 raid/sata controller that requires additional drivers you will have to 'marry' the TXTSETUP.OEM files together to achieve this. It is quite do-able but requires more work on your part so it is best to figure out if you actually have to do this, before you go ahead and try to do it. Hope this helps, post back here with more information/questions/etc.
Posted Image

#24
big poppa pump

big poppa pump

    Damn Newbies!!

  • Member
  • PipPipPip
  • 406 posts
  • Joined 10-September 03
I keep getting an error saying:

The Manufacturer provided file that setup is trying to use is corrupted or invalid:

Line1 contains a syntax error.

I even deleted the txtsetup.oem file from the iso and tried installing xp and still end up getting the same error.

I am literally banging my head on the wall trying to figure out what the hell this error means and which file it is talking about.

Edit.....an update

I deleted winnt.sif from I386 and it went through without an hitch.

Trying to sort out my winnt.sif file now.

DFI LP UT NF4 SLI-DR Expert || Opty 165 CCBBE 0610DPMW @ 3.01Ghz (335*9) - 1.52V, TT Big Typhoon w/120mm Panaflo
2 x G.SKILL F1-4000USU2-2GBHZ || BBA Radeon 1900XTX || X-Mystique DD 5.1 with/ Pioneer THX 1015TX
2*74GB Raptors - Raid 0 || 2*300GB Seagate 7200.9 NCQ SATA-II || 4*Hitachi 500GB 7K500 || Mad Dog Triple Format DL DVD+/-RW/DVD-Ram
OCZ GameXstream 700W || CM Stacker STC-01 || 2 * Dell 2405FPW


#25
trainee

trainee

    ThunderWalker

  • Member
  • PipPip
  • 108 posts
  • Joined 04-May 04
@big poppa pump: sounds like you are on the right track. Why don't you post your winnt.sif and see if we can help you find the problem? (Don't forget the code tags ;) ) I usually recommend using a very basic winnt.sif when trying to get the drivers working, so you may try to cut your winnt.sif down to basics if it has a lot of special settings. Hope this helps.
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users