Topic: MassStorage and WinPE

Hello,
can someone assist me to include the MassSorageDriverPack to the DVD-Only-Installation based on MS WINPE?

I use the WinPE Environment to preinstall Windows XP Home, XP Home SP1, XP Home SP2, XP Prof, XP Prof SP1,XP Prof, XP Prof SP2

Ok the following things i have done:
Extract the WinPE Envirnoment from the XP Prof SP2-CD
Include the OEM-MassStorageDriver with MS drvinst.exe to the WINPE -> it works fine, there is no error

I used a winbom.ini file to preinstall some applications, a unattend.txt and a winnt.sif file wihich will be copied to floppy before the install starts:

winbom.ini:
[Version]
signature=$CHICAGO$

[Factory]
AutoDetectNetwork = No
Username=Harry
Password=
WinBOMType=WinPE

[WinPE.Net]
StartNet = No

[ComputerSettings]
AuditAdminAutoLogon=Yes
SourcePath=x:\OPKTools\Lang\GER\sku\per\x86\I386

[NetCards]

[WinPE]
Restart =Reboot
Lang =GER
Sku =per
ConfigSet =XP Home Edition
SourceRoot =x:\OPKTools
Username =XXX
Password =

[DiskConfig]
Disk1=Disk1.config

[Disk1.config]
WipeDisk = yes
Size1 = *
SetActive1 = yes
PartitionType1 = primary
FileSystem1 = ntfs
QuickFormat1 = yes

unattend.txt:
[Unattended]
Unattendmode = FullUnattended
OemPreinstall = Yes
TargetPath = *
Filesystem = LeaveAlone
OemSkipEula = YES
FactoryMode = YES
Hibernation = No

[UserData]
FullName = "Ihr Benutzername"
OrgName = "Name Ihrer Firma"
ComputerName = *
ProductKey=XXX

[GuiUnattended]
TimeZone = "110"
AdminPassword = *
OEMSkipRegional = 1
OEMSkipWelcome = 1

[LicenseFilePrintData]
AutoMode = "PerServer"
AutoUsers = "5"

[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 70

[Branding]
BrandIEUsingUnattended = No
IEBrandingFile = install.ins

[Networking]

[Identification]
JoinWorkgroup = MSHEIMNETZ

[Components]
msmsgs=off
msnexplr=off

winnt.sif:
[Unattended]
Unattendmode = FullUnattended
OemPreinstall = Yes
TargetPath = *
Filesystem = LeaveAlone
OemSkipEula = YES
FactoryMode = YES
Hibernation = No

[UserData]
FullName = "Ihr Benutzername"
OrgName = "Name Ihrer Firma"
ComputerName = *
ProductKey=xxx

[GuiUnattended]
TimeZone = "110"
AdminPassword = ""
OEMSkipRegional = 1
OEMSkipWelcome = 1

[LicenseFilePrintData]
AutoMode = "PerServer"
AutoUsers = "5"

[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 70

[Branding]
BrandIEUsingUnattended = No
IEBrandingFile = install.ins

[Networking]

[Identification]
JoinWorkgroup = MSHEIMNETZ

[Components]
msmsgs=off
msnexplr=off

I used method 1 and method 2 to include the Drivers to the i386 folder of the XP install-files.
I´ve copied the $OEM$-Folder to the root of the DVD, parallel to the i386-folder of the XP-files
I've changed my unattend and winnt-files and put the entries for     OemPnpDriversPath, OemPreinstall, DriverSigningPolicy, NonDriverSigningPolicy and [GUIRunOnce] command9="%SystemDrive%\DPsFnshr.exe" to them.

Ok everything works fine, the WINPE copies the file to the Harddisk
the computer restarts from the harddisk, copies the installation files into the installation folders, starts again
and then when the GUI-Setup schould start it hngs with a BSOD STOP: 0x0000007B

When the computer reboots first and start from the harddisk the MassStorageDriver works, why not not when starts the second time to complete the Installation?
I there a tutorial or an idea how to include the MassStorage Driver?

This is the folder structure before(after the first reboot from the harddisk and copying the installation files)

$OEM$
$OEM$\$1
$OEM$\$1\D
$OEM$\$1\D\M		-> and so on with all the subfolders
$WIN_NT$.~BT		-> here is the winnt.sif file with the right OemPnPDriversPath and the .SY_ files from the MassStorageDrivers
$WIN_NT$.~BT\$OEM$	-> with nothing in it
$WIN_NT$.~BT\system32
$WIN_NT$.~LS
$WIN_NT$.~LS\$OEM$ 	-> with nothing in it
$WIN_NT$.~LS\I386
I386
SYSPREP

This is the folder structure after the second boot from the harddisk and the BSOD appears:

$OEM$
$OEM$\$1
$OEM$\$1\D
$OEM$\$1\D\M		-> and so on with all the subfolders
$WIN_NT$.~BT		-> here is the winnt.sif file with the right OemPnPDriversPath and the .SY_ files from the MassStorageDrivers
$WIN_NT$.~BT\$OEM$	-> with nothing in it
$WIN_NT$.~BT\system32
$WIN_NT$.~LS
$WIN_NT$.~LS\$OEM$ 	-> with nothing in it
$WIN_NT$.~LS\I386
I386
SYSPREP

You see, there has nothing changed. Why is the computer booting once from harddisk(here are the massstoragedrivers working) and not a second time?

Is this correct? Where should the "D-Folder" be after copy? I think in the root of the harddisk, right? Or in one of the empty $OEM$ folders?

Re: MassStorage and WinPE

hi
what version of mass storage pack do you use?

The answer was 42?
Kind regards, Jaak.

Re: MassStorage and WinPE

Hi jtdoom
It is the 7.01.1 version. Today i did the folllowing changes:
I have made the OEMFilesPath=c:\$OEM$ entry in the winnt.sif and then the D-Folder is copied to c: after the first boot from the harddisk correctly.
But at the second boot, it is the same BSOD. I can't imagine why the driver for the MassSorageControler is only working once(at the first boot from the harddisk)

When i plug the harddisk on the normal IDE-Port and then installing it goes on. The MassStorageController(SI680 in this case) is installed as Raid Controler int  the device manager. When i plug the harddisk on the MassStorageControler after installing the system boots normaly.

Any idea or need more informations?

Last edited by Harry33 (2007-02-16 03:57:17)

Re: MassStorage and WinPE

Hi
you are testing this in a live machine, and I wonder wether a non OPK'ed version will work
(winPE or OPK)

could you test with a simple source, where you copy your winnt.sif to i386, then run base on it to slip the driverpacks into, and then run setup on that live?
I wonder wether it is a conflict such as some we've seen before

iastor driver could behave like that (there is a long topic about that one..)
seen during setup, and failing to proceed after reboot
If you read that iastor topic, you can read there were strange fenomena when modes of the hard disk were changed, and when orphaned RAID member disks were used.

I cannot help much on OPK,
I wonder why both method one and two are used on a source (I figure you copy folders, to re-use them later)
the thing is, when you first run one method, and then the other method, the first gets undone in more than one place...

Last edited by jtdoom (2007-02-17 10:36:14)

The answer was 42?
Kind regards, Jaak.

Re: MassStorage and WinPE

Hello,
I have solved the problem.
I wrote a script which extract the info about the used controler from the registry of WinPE and then it creats a BAT-file which copies the needed installation files to the folders on harddisk after the copy the windows-installation-files to it.

Re: MassStorage and WinPE

@jtdoom - you don't happen to have the link handy for this "long post" about iastor do you?
I'm having big trouble with a Compaq dc7700 with ICH8 integrated SATA RAID...
Cheers,
tU