Topic: MassStorage text mode Problem

Hello,
This is my first post here.
I've already build a Windows 7 generic image using sysprep and it was pretty easy.
Now I' am trying to build a Windows XP generic image using sysprep. (not easy at all).

My problem is with the AHCI drivers.
If use the image I've created on a PC with AHCI enabled, i get a BSOD 0x0000007B
If i change the AHCI to IDE, everything works great.
I've been searching for a week now to find what's wrong.

I've tried somebody's guide:
http://forum.driverpacks.net/viewtopic.php?id=4849

Here is what i have done to create the image:

# Tools:
Windows XP SP3
Sysprep SP3 (deploy.cab)
DriverPacks BASE (DPs_BASE_1006.exe)

# Driver packs:
DP_CPU_wnt5_x86-32_1005.7z
DP_Chipset_wnt5_x86-32_1206.7z
DP_LAN_wnt5_x86-32_1205.7z
DP_MassStorage_wnt5_x86-32_1206.7z
DP_Sound_A_wnt5_x86-32_1111.7z
DP_Sound_B_wnt5_x86-32_1111.7z

01. Install Windows + Updates + Programs + Customization
02. Extract deploy.cab to C:\Sysprep
03. Copy from Windows CD the folder i386 to C:\Sysprep\i386
04. Extract DPs_BASE_1006.exe to C:\DPBase
05. Copy CPU DriverPack inside "C:\DPBase\DriverPacks" folder (C:\DPBase\DriverPacks\DP_CPU_wnt5_x86-32_1005.7z)
06. Copy MassStorage DriverPack inside "C:\DPBase\DriverPacks" folder (C:\DPBase\DriverPacks\DP_MassStorage_wnt5_x86-32_1206.7z)
07. Run C:\DPBase\DPBase.exe > Standalone Drivers > DriverPack CPU > Method 1 > Slipstream
08. Run C:\DPBase\DPBase.exe > Disc > DriverPack MassStorage text mode > Method 1 > Slipstream
09. Move all contents of C:\DriverPacks.net to C:\
10. Extract all other DriverPacks to C:\
11. Extract DevPath.exe from "C:\DPBase\bin\wnt5_x86-32\M2.7z" to C:\
12. Run "C:\DevPath.exe C:\D"
13. Delete file C:\DevPath.exe and folders C:\DPBase and C:\DriverPacks.net
14. Edit C:\DP_Inst_Tool.cmd and delete the line "Echo DPsRootDel  = "false" >> %DPFL%"
15. Use Setup Manager to create a sysprep.inf (C:\sysprep\setupmgr.exe)
16. Edit C:\Sysprep\sysprep.inf and add:

[Unattended]
UpdateInstalledDrivers=Yes
DriverSigningPolicy=Ignore

[GuiRunOnce]
Command0=C:\DP_Install_Tool.cmd

[Sysprep]
BuildMassStorageSection=Yes
    
[SysprepMassStorage]

17. Run "C:\Sysprep\sysprep.exe -bmsd"
18. Run "C:\Sysprep\sysprep.exe" check "Use Mini-Setup" and "Detect non-plug and play hardware", select "Shutdown" and press "Reseal"
19. Grab your generic image


Here is my sysprep.inf before i run -bmsd (I have removed AdminPassword and ProductKey)

;SetupMgrTag
[Unattended]
    OemSkipEula=Yes
    InstallFilesPath=C:\sysprep\i386
    DriverSigningPolicy=Ignore
    NonDriverSigningPolicy=Ignore
    UpdateInstalledDrivers=Yes
    TargetPath=\Windows
    OemPreinstall=Yes
    
[GuiUnattended]
    AdminPassword="XXXXX"
    AutoLogon=Yes
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=130
    OemSkipWelcome=1

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName="TEST"
    OrgName="TEST"
    ComputerName=PC-001

[Display]
    Xresolution=1280
    YResolution=1024
    Vrefresh=60

[RegionalSettings]
    LanguageGroup=4
    SystemLocale=00000408
    UserLocale=00000408
    InputLocale=0409:00000409

[SetupMgr]
    DistFolder=C:\sysprep\i386
    DistShare=windist

[Identification]
    JoinWorkgroup=TEST

[Networking]
    InstallDefaultComponents=Yes

[Sysprep]
    BuildMassStorageSection=Yes
    
[SysprepMassStorage]

Any suggestions?
I've already tried to enter manually the SysprepMassStorage with no success. BSOD again!

Thanks in advance.

Re: MassStorage text mode Problem

Without seeing what is in your sysprep mass storage section, I/we can't help you much. It sounds like your ahci driver is not being loaded correctly.
Here is my custom xp pack for mass storage. Sysprep.inf with populated mass storage section us included. Make sure drivers are in c:\d\m folder if you wish to try it out.
http://www.mediafire.com/?kshl9q7ls4wapuk

Re: MassStorage text mode Problem

Thanks bigfoot.
Although your driver pack doesn't seam to work for me (i get "An error occured while trying to update your registry"), you where right. The SysprepMassStorage was not correct.
I had too many duplicate entries and missing devices.
I tried FindHWIDS to make SysprepMassStorage  but i got the same error.
I was able to write some drivers "by hand" and now it seams to work.

Here is my current SysprepMassStorage, only for Intel and DriverPack 1206

; Keyboard / Mouse Fix
*pnp0303=C:\windows\inf\keyboard.inf  ; "Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"
*pnp0f03=C:\windows\inf\msmouse.inf   ; "Microsoft PS/2 Mouse"
*pnp0f0b=C:\windows\inf\msmouse.inf   ; "Microsoft PS/2 Mouse"
*pnp0f0e=C:\windows\inf\msmouse.inf   ; "Standard PS/2 Port Mouse"
*pnp0f12=C:\windows\inf\msmouse.inf   ; "Logitech PS/2 Port Mouse"
*pnp0f13=C:\windows\inf\msmouse.inf   ; "PS/2 Compatible Mouse"
; [i] Intel v5.5.0.1035
PCI\VEN_8086&DEV_24DF&CC_0104=%systemdrive%\D\M\I\iastor.inf ; "Intel(R) 82801ER SATA RAID Controller"
PCI\VEN_8086&DEV_25B0&CC_0104=%systemdrive%\D\M\I\iastor.inf ; "Intel(R) 6300ESB SATA RAID Controller"
; [I2] Intel v7.0.0.1020
PCI\VEN_8086&DEV_24D1&CC_0106=%systemdrive%\D\M\I2\dpsI2.inf  ; "Intel(R) 82801EB SATA AHCI Controller"
PCI\VEN_8086&DEV_2652&CC_0106=%systemdrive%\D\M\I2\iaahci.inf ; "Intel(R) 82801FR SATA AHCI Controller"
PCI\VEN_8086&DEV_2652&CC_0104=%systemdrive%\D\M\I2\iastor.inf ; "Intel(R) 82801FR SATA RAID Controller"
; [I3] Intel v7.8.0.1012
PCI\VEN_8086&DEV_2651&CC_0106=%systemdrive%\D\M\I3\dpsI3.INF  ; "Intel(R) SATA AHCI Controller"
PCI\VEN_8086&DEV_2653&CC_0106=%systemdrive%\D\M\I3\IAAHCI.INF ; "Intel(R) 82801FBM SATA AHCI Controller"
PCI\VEN_8086&DEV_5029&CC_0106=%systemdrive%\D\M\I3\IAAHCI.INF ; "Intel(R) EP 80579 SATA AHCI Controller"
; [I4] Intel v3.1.0.1082
PCI\VEN_8086&DEV_1D02&CC_0106=%systemdrive%\D\M\I4\iaAHCI.inf  ; "Intel(R) C600 Series Chipset SATA AHCI Controller"
PCI\VEN_8086&DEV_2826&CC_0104=%systemdrive%\D\M\I4\iaStorA.inf ; "Intel(R) C600 Series Chipset SATA RAID Controller"
; [I6] Intel v10.8.0.1003
PCI\VEN_8086&DEV_2824&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH8 SATA AHCI Controller"
PCI\VEN_8086&DEV_2923&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH9 SATA AHCI Controller"
PCI\VEN_8086&DEV_3A03&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH10 SATA AHCI Controller"
PCI\VEN_8086&DEV_3A23&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH10 SATA AHCI Controller"
PCI\VEN_8086&DEV_2681&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ESB2 SATA AHCI Controller"
PCI\VEN_8086&DEV_2821&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH8R/DH/DO SATA AHCI Controller"
PCI\VEN_8086&DEV_2829&CC_0106=%systemdrive%\D\M\I6\dps6AHCI.inf ; "Intel(R) ICH8M-E/M SATA AHCI Controller"
PCI\VEN_8086&DEV_2682&CC_0104=%systemdrive%\D\M\I6\dps6Stor.inf ; "Intel(R) ESB2 SATA RAID Controller"
PCI\VEN_8086&DEV_2922&CC_0106=%systemdrive%\D\M\I6\iaAHCI.inf   ; "Intel(R) ICH9R/DO/DH SATA AHCI Controller"
; [I7] Intel v11.2.0.1006
PCI\VEN_8086&DEV_27C1&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) ICH7R/DH SATA AHCI Controller"
PCI\VEN_8086&DEV_27C5&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) ICH7M/MDH SATA AHCI Controller"
PCI\VEN_8086&DEV_2929&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) ICH9M-E/M SATA AHCI Controller"
PCI\VEN_8086&DEV_3A02&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) ICH10D/DO SATA AHCI Controller"
PCI\VEN_8086&DEV_3A22&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) ICH10R SATA AHCI Controller"
PCI\VEN_8086&DEV_3B29&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) 5 Series 4 Port SATA AHCI Controller"
PCI\VEN_8086&DEV_3B2F&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) 5 Series 6 Port SATA AHCI Controller"
PCI\VEN_8086&DEV_3B22&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) 5 Series/3400 Series SATA AHCI Controller"
PCI\VEN_8086&DEV_1C02&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller"
PCI\VEN_8086&DEV_1C03&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) Mobile Express Chipset SATA AHCI Controller"
PCI\VEN_8086&DEV_1E02&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) 7 Series/C216 Chipset Family SATA AHCI Controller"
PCI\VEN_8086&DEV_1E03&CC_0106=%systemdrive%\D\M\I7\iaAHCI.inf ; "Intel(R) 7 Series Chipset Family SATA AHCI Controller"
PCI\VEN_8086&DEV_27C3&CC_0104=%systemdrive%\D\M\I7\iaStor.inf ; "Intel(R) ICH7R/DH SATA RAID Controller"
PCI\VEN_8086&DEV_27C6&CC_0104=%systemdrive%\D\M\I7\iaStor.inf ; "Intel(R) ICH7MDH SATA RAID Controller"
PCI\VEN_8086&DEV_2822&CC_0104=%systemdrive%\D\M\I7\iaStor.inf ; "Intel(R) Desktop/Workstation/Server Express Chipset SATA RAID Controller"
PCI\VEN_8086&DEV_282A&CC_0104=%systemdrive%\D\M\I7\iaStor.inf ; "Intel(R) Mobile Express Chipset SATA RAID Controller"

Re: MassStorage text mode Problem

bigfoot wrote:

Without seeing what is in your sysprep mass storage section, I/we can't help you much. It sounds like your ahci driver is not being loaded correctly.
Here is my custom xp pack for mass storage. Sysprep.inf with populated mass storage section us included. Make sure drivers are in c:\d\m folder if you wish to try it out.
http://www.mediafire.com/?kshl9q7ls4wapuk

Hello did it happen to update your custom xp pack for mass storage txtmode drivers?? it`s very difficult to find them one by one
thanks

Re: MassStorage text mode Problem

Thanks helped to solve the problem.