myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


           



Adding Sata-support on an universal image for zti?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS Feature Packs >> Adding Sata-support on an universal image for zti? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Adding Sata-support on an universal image for zti? - 11/13/2006 9:11:43 AM   
matbe

 

Posts: 11
Score: 0
Joined: 11/13/2006
Status: offline
Hi!

Even if this is my first post i have been reading the forums alot and have gotten loads of help. But with my current problem i havnt found the answer and im pretty much stuck.

The problem is i want to make an universal image with XP that i can use to deploy on all our diffrent HW and that means some of the machines need SATA support.

The sata-drivers i have are Intels and uses the file iastor.sys. From what i have read im supposed to add the drivers to sysprep.inf. To be able to do that i have buildt the massstorage list with -bsmd and made the following changes to sysprep.inf
[Sysprep]
BuildMassStorageSection = No

[SysprepMassStorage]
PCI\VEN_8086&DEV_2653&CC_0106=C:\sysprep\iastor\IAAHCI.INF
PCI\VEN_8086&DEV_2652&CC_0106=C:\sysprep\iastor\IAAHCI.INF
PCI\VEN_8086&DEV_27C1&CC_0106=C:\sysprep\iastor\IAAHCI.INF
PCI\VEN_8086&DEV_27C3&CC_0104=C:\sysprep\iastor\IASTOR.INF
PCI\VEN_8086&DEV_2652&CC_0104=C:\sysprep\iastor\IASTOR.INF
PCI\VEN_8086&DEV_24DF&CC_0104=C:\sysprep\iastor\IASTOR.INF
PCI\VEN_8086&DEV_25B0&CC_0104=C:\sysprep\iastor\IASTOR.INF
PCI\VEN_8086&DEV_2652&CC_0104=C:\sysprep\iastor\IASTOR.INF


I've added the files from the intel-drivers to $OEM$\$1\sysprep\iastor and I also added iastor.sys to the I386 folder on the source, tried both cabbed iastor.sy_ and .sys.
But when i try and deploy this to the machines using Sata i get a BSOD with 0x0000007b indicating the drivers isnt loaded. (Just to be clear, i've manage to integrate the drivers to WinPE and updated SMS OSD FP with the winpe and satasupport). So the installtionfiles gets copied to the pc but when it reboots to start the setup i get the BSOD. I also get a BSOD if i try to build the image on the sata-pc with only the changes to sysprep above.

I've also tried slipstreaming the drivers in the source I386 (wich is the way i got the drivers to work with our current enviroment using RIS and multiple images today).

But when i do this and try to make the image on my "image-pc" which dont have satadrivers i get an error saying that the file "iastor.sys" cant be found during the txtsetup part of the xp-installation.

When i tried this i made the following changes to txtsetup.sif (in the I386 in the Sourcefiles)
[SourceDisksFiles]
iastor.sys   = 1,,,,,,4_,4,1,,,1,4

[HardwareIdsDatabase]
PCI\VEN_8086&DEV_2822&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2821&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2682&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2681&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_27C3&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C6&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C1&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_27C5&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2653&CC_0106 = "iaStor"

[SCSI.Load]
iastor = iastor.sys,4

[SCSI]
iastor =  "Intel Matrix Storage Manager driver"


The above works if i do the image on the machine with the Sata-drivers, but since i want to make it universal and support diffrent types of Sata-drivers that isnt good enough for me.

And now im stuck, so im happy for all suggestion on what to try next to integrate the satadrivers in my source image.
Sorry for any misspells or if my explaining is bad, english isnt my native language.

/Regards
Matt

< Message edited by matbe -- 11/13/2006 9:15:11 AM >
Post #: 1
RE: Adding Sata-support on an universal image for zti? ... - 11/14/2006 5:52:42 AM   
matbe

 

Posts: 11
Score: 0
Joined: 11/13/2006
Status: offline
Ok, problem solved.

/Matt

(in reply to matbe)
Post #: 2
RE: Adding Sata-support on an universal image for zti? ... - 11/16/2006 8:30:53 AM   
Dancake

 

Posts: 1
Score: 0
Joined: 11/16/2006
Status: offline
Is there any chance you could let me know what you did please. We have exactly the same issue in our office.

Thanks

(in reply to matbe)
Post #: 3
RE: Adding Sata-support on an universal image for zti? ... - 11/17/2006 8:01:20 AM   
lightsout

 

Posts: 144
Score: 5
Joined: 10/10/2006
Status: offline
Try changing this:

quote:


[Sysprep]
BuildMassStorageSection = No


To "yes" and re-run sysprep.

(in reply to Dancake)
Post #: 4
RE: Adding Sata-support on an universal image for zti? ... - 11/17/2006 8:08:28 AM   
egiroux

 

Posts: 131
Score: 4
Joined: 4/4/2006
From: Portland, Maine
Status: offline
That's assuming you are building the image on the machine that has the SATA drivers you want to add. If you're building a single image for all your hardware and not creating the image on the machine with the SATA drivers in question, you have to explicity add to the mass storage section in sysprep.inf the driver info for your SATA driver as it won't be added automatically.  There was a good post with step by step directions on doing this.  I'll try to find it and add a link to this thread.  I had to do it for the Lenovo T60 a few months back.

(in reply to lightsout)
Post #: 5
RE: Adding Sata-support on an universal image for zti? ... - 11/17/2006 8:19:47 AM   
egiroux

 

Posts: 131
Score: 4
Joined: 4/4/2006
From: Portland, Maine
Status: offline
Could not find the link, but here's what I had to do for the T60:

The BuildMassStorageSection in sysprep.inf was remmed out

The SysprepMassStorage section was initially populated by running sysprep.exe - bmsd.  Then the PCI\VEN information for the applicable SATA files was added manually

The SATA drivers were copied to C:\Drivers\IntelSATA within the image.  Additionally, the PREPARE\install.cmd file included with the driver was run just prior to sealing the image and uploading to SMS.

(in reply to egiroux)
Post #: 6
RE: Adding Sata-support on an universal image for zti? ... - 11/20/2006 3:12:20 PM   
matbe

 

Posts: 11
Score: 0
Joined: 11/13/2006
Status: offline
Hi!

What i did was the following. (I didnt do any changes to txtsetup.sif since
the pc i was buildning the image on didnt have any Sata-devices).

I extracted the driverfiles (2 .cat, 2 .inf, iastor.sys and txtsetup.oem)
file to a catalog called C:\Sysprep\iastor\ or in my case i put them in
Master $OEM$\$OEM$\$1\Sysprep\iastor since i use ZTI to build the image.

Then i built a sysprep.inf with the sysprep -bsmd flag to populate the
[SysprepMassStorage] list. After it was populated i added the following
entries to sysprep.inf manually and made sure i changed
BuildMassStorageSection to "No".

-------------
[Sysprep]
  BuildMassStorageSection = No


[SysprepMassStorage]
PCI\VEN_8086&DEV_2822&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) ICH8R/DO/DH SATA RAID Controller (Desktop ICH8R)","disk1"
PCI\VEN_8086&DEV_2821&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) ICH8R/DO/DH SATA AHCI Controller (Desktop ICH8R)","disk1"
PCI\VEN_8086&DEV_2682&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 631xESB/632xESB SATA RAID Controller (Server/Workstation ESB2)","disk1"
PCI\VEN_8086&DEV_2681&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 631xESB/632xESB SATA AHCI Controller (Server/Workstation ESB2)","disk1"
PCI\VEN_8086&DEV_27C3&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801GHM SATA RAID Controller (Mobile ICH7MR/DH)","disk1"
PCI\VEN_8086&DEV_27C6&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)","disk1"
PCI\VEN_8086&DEV_27C1&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801GR/GH SATA AHCI Controller (Desktop ICH7R/DH)","disk1"
PCI\VEN_8086&DEV_27C5&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801GBM SATA AHCI Controller (Mobile  ICH7M/DH)","disk1"
PCI\VEN_8086&DEV_2652&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801FR SATA RAID Controller (Desktop ICH6R)","disk1"
PCI\VEN_8086&DEV_2652&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801FR SATA AHCI Controller (Desktop ICH6R)","disk1"
PCI\VEN_8086&DEV_2653&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801FBM SATA AHCI Controller (Mobile  ICH6M)","disk1"
--------------
(Each of the PCI\VEN entrys should be on a singel line if they get broken
when i post)

Hope this helps!

Regards
Matt

(in reply to egiroux)
Post #: 7
RE: Adding Sata-support on an universal image for zti? ... - 2/6/2007 9:47:48 AM   
r2000

 

Posts: 249
Score: 0
Joined: 9/8/2005
Status: offline
Hi.
I have tried your solution with no luck.
I mounted the ZTI Image and edited the sysprep.inf
[Sysprep]
BuildMassStorageSection = No


[SysprepMassStorage]
PCI\VEN_8086&DEV_2822&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) ICH8R/DO/DH SATA RAID Controller (Desktop ICH8R)","disk1"
PCI\VEN_8086&DEV_2821&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) ICH8R/DO/DH SATA AHCI Controller (Desktop ICH8R)","disk1"
PCI\VEN_8086&DEV_2682&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 631xESB/632xESB SATA RAID Controller (Server/Workstation ESB2)","disk1"
PCI\VEN_8086&DEV_2681&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 631xESB/632xESB SATA AHCI Controller (Server/Workstation ESB2)","disk1"
PCI\VEN_8086&DEV_27C3&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801GHM SATA RAID Controller (Mobile ICH7MR/DH)","disk1"
PCI\VEN_8086&DEV_27C6&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)","disk1"
PCI\VEN_8086&DEV_27C1&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801GR/GH SATA AHCI Controller (Desktop ICH7R/DH)","disk1"
PCI\VEN_8086&DEV_27C5&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801GBM SATA AHCI Controller (Mobile  ICH7M/DH)","disk1"
PCI\VEN_8086&DEV_2652&CC_0104="C:\sysprep\iastor\iaStor.INF","\","Intel(R) 82801FR SATA RAID Controller (Desktop ICH6R)","disk1"
PCI\VEN_8086&DEV_2652&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801FR SATA AHCI Controller (Desktop ICH6R)","disk1"
PCI\VEN_8086&DEV_2653&CC_0106="C:\sysprep\iastor\IAAHCI.INF","\","Intel(R) 82801FBM SATA AHCI Controller (Mobile  ICH6M)","disk1"

And copied the files to c:\sysprep\iastor and commit the changes to the wim file. But after i have load the wim file and the first reboot, the pc just reboots and reboots.

(in reply to matbe)
Post #: 8
RE: Adding Sata-support on an universal image for zti? ... - 2/6/2007 2:27:07 PM   
BenpHunter

 

Posts: 142
Score: 4
Joined: 1/6/2007
From: Microsoft New Zealand
Status: offline
You cannot simply make these changes by mounting the Wim and updating the sysprep.inf file. These changes need to be performed before the machine is syspreped. This is so the mass storage drivers will be available at first boot.
 
This means you you will need to recapture the image.
 
Here are some instructions that have worked for me to update both WinPE and the base image:
 

The method of including drivers as listed in KB319214 does not seem to work for the Intel ICH7 chipsets (I have no problem making it work with other chipsets!) so I have adopted the following approach (Note: I have attached all relevant files for this process):
 
For the WinPE environment I have modified the TXTSetup.sif  in the WinPE source, to include the relevant iastor.sys information. I have listed the exact steps to follow below.
 

1. Update txtsetup.sif in WinPE source  \i386\txtsetup.sif
2. Copy iastor.sys file to WinPE source directory i386\system32\drivers
3. Import WINPE new source into SMS - must be imported via a local path eg d:\winpe2005 not a UNC path
4. Create new OSD install CD
5. Copy ISO to RIS server if using a RAM Disk

 
You will then need to update the base XP Image with the Mass storage drivers. The main change required for this process is  manually specifying  drivers in the sysprep.inf and by adding drivers to the Mass storage section you can no longer automatically enumerate all Mass Storage drivers. Because of this you must capture this information and then manually append it to your sysprep.inf (I have attached a sysprep.inf with all the necessary files included, including the Intel drivers). The steps required for this process are listed below:


1. Disable Mass storage driver detection in the sysprep.inf
2. Update sysprep.inf with base XP mass storage driver information
3. Update sysprep.inf with extra mass storage driver information
4. Copy drivers to the base image driver folder “Master $OEM$\$OEM$\$1\Drivers\Other”
5. Recreate Base Build image

 
 
Thanks,
Ben Hunter

Attachment (1)

(in reply to r2000)
Post #: 9
RE: Adding Sata-support on an universal image for zti? ... - 2/6/2007 2:59:31 PM   
jarwidmark

 

Posts: 614
Score: 36
Joined: 12/12/2004
From: Halmstad, Sweden
Status: offline
Here is a quick but hopefully useful guide for adding mass storage
device drivers to Windows XP SP2 and Windows PE 2005.

This guide explains how to add the Intel SATA driver (very common) to
scripted installs, sysprepped images and Windows PE 2005.

A Geeks guide to storage drivers (Windows XP and Windows PE 2005)
http://www.deployvista.com/Blog/tabid/70/EntryID/18/Default.aspx

Note: It actually is possible to inject mass storage drivers offline, some p2v solutions does this, but it's a bit messy and I recommend using the sysprep.inf method...(eg. installation the drivers when resealing the image)

_____________________________

Regards
Johan Arwidmark
Microsoft MVP - Setup/Deployment

(in reply to BenpHunter)
Post #: 10
RE: Adding Sata-support on an universal image for zti? ... - 2/7/2007 3:15:08 AM   
lnesta431


Posts: 860
Score: 58
Joined: 1/26/2006
From: Brussels, Belgium
Status: offline
For who is interessted...

Also SAS (Serial Attached SCSI) can be added to WinPE following the procedures that you find in this post.


_____________________________

----------
Please rate if this has helped you! Tnx!

Check out my NEW blog: http://nicosienaert.blogspot.com/
----------

(in reply to jarwidmark)
Post #: 11
RE: Adding Sata-support on an universal image for zti? ... - 6/6/2007 12:38:58 PM   
tmiller


Posts: 653
Score: 18
Joined: 7/29/2003
From: Iowa
Status: offline
I followed the guidelines in the Geek's guide and there were a couple of gotchas that you might consider adding to the guide.

First, I think it would be helpful to specify that it is the "capture" sysprep.inf file that needs to be updated as opposed to the "deploy" sysprep.inf file.  This might be obvious to most, but I got confused as it is left ambiguous in the guide.
The guide shows how to add Intel Mass Storage Matrix drivers for syspreped images.  I would suggest that you add in a little bit to the sysprep section that suggests that you need to do a sysprep -bmsd in order to populate sysprep.inf with all the in-built drivers, then edit the sysprep.inf file to add the extra out-of-box drivers like the Intels.  It wasn't clear to me that when I edited the [SysprepMassStorage] section to add the Intel drivers that I would be loosing all the other drivers - including the very very popular generic IDE drivers.  I was left with an image that would deploy to any machine that had the Intel SATA chipset, but would not deploy to any machines with generic IDE hard drives.  Whoops!

Reading back through Ben's steps above I realized that when modifying the [SysprepMassStorage] I needed to explicity list each driver I wanted to include - including those built in to Windows XP.  I thought I only needed to specify the ones I wanted to add to what was already there.

< Message edited by tmiller -- 6/7/2007 10:48:41 AM >

(in reply to lnesta431)
Post #: 12
RE: Adding Sata-support on an universal image for zti? ... - 6/7/2007 11:55:47 AM   
cnackers


Posts: 191
Score: 6
Joined: 9/22/2006
From: Madison, WI
Status: offline
Here is a guide i created for documentation in our environment, i modified the HP doc that is out there and added the WinPE stuff...

I usually reference that there are 2 key points to adding SATA support to your OSD, you need to add support to WinPE to see the SATA drive and then you have to give the XP image sata support.  This guide was specific to HP SATA since we're an HP shop, but the principal's apply to other manufacturers.  Stuff in red was additional support for the new XW6400 model from HP.

Hopefully this helps some people out.
----------------------------------------------------------------------------
In order to add SATA support to SMS 2003 and OSD, you need to first add SATA support to Windows PE. 

Adding SATA Support to Windows PE

These steps will add SATA support directly into Windows PE, if you want to add SATA support for the CIS Build CD, you must use the \Extrafiles directory and create the file structure documented below.

1) Create the WinPE folder (these guidelines will use c:\winpe) or use existing WinPE location

            2) Download the Intel SATA AHCI Controller Driver, SP32478.exe, from www.hp.com.

            3) Extract all the files from the SoftPaq.  Winrar or WinImage will be able to extract the driver files out
             
            4) These files should be extracted.
            a. iaahci.cat
            b. iaahci.inf
            c. iastor.cat
            d. iastor.inf
            e. iastor.sys
            f. license.txt
            g. readme.txt
            h. txtsetup.oem
             
            5) Copy the iaahci.inf and iastor.inf files from the floppy to the c:\winpe\i386\inf folder.
             
            6) Copy the other files to the c:\winpe\i386\system32\drivers folder.
             
            7) Open c:\winpe\i386\txtsetup.sif in Notepad.
             
            8) Go to the end of the file. There will be several blank lines

            9) Move the cursor up a few lines. This is necessary because there is a hidden marker at the end of the file.
             
            10) Add the following lines to the txtsetup.sif:

            [SourceDisksFiles]
iastor.sys= 1,,,,,,4_,4,1,,,1,4
iaAHCI.cat=1,,,,,,,20,0,0
iaAHCI.inf=1,,,,,,,20,0,0
iaSTOR.cat=1,,,,,,,20,0,0
iaSTOR.inf=1,,,,,,,20,0,0

[HardwareIdsDatabase]
PCI\VEN_8086&DEV_2681&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2682&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C5&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_27C3&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C1&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2653&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_24DF&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_25B0&CC_0104 = "iaStor"

[SCSI.Load]
iaStor = iaStor.sys,4

[SCSI]
iaStor = "Intel(R) 82801 SATA RAID/AHCI Controller (ICH5,6,7)"

            11) Save the file and exit Notepad.


Adding SATA support to SMS 2003 & OSD

There are 2 core parts to adding SATA support to SMS, first you need to update the WinPE OSDWinPE.wim file with a PE that supports SATA.  Secondly, for the OSD image to work, you need to integrate SATA support into image you are capturing for deployment. 

To update the Windows PE source files in SMS:
1)                 Open the SMS Administration console
2)                 Right click on Image Packages and select All Tasks – Update Windows PE
3)                 Point this to the source files for your modified WinPE source that supports SATA
4)                 Remember to refresh your distribution points if you do not a schedule refresh

Note:  This will create a new OSDWinPE.wim in the OSD folder, and the image package(s) source, however the ZTI share’s OSDWinPE will NOT be updated.  In order for SATA support on a OSD installation CD you will have to copy the updated file to the ZTI share.

To integrate SATA support into your image file:
             
            1) Download the Intel SATA AHCI Controller Driver, SP32478.exe, from www.hp.com.

            2) Extract all the files from the SoftPaq.  Winrar or WinImage will be able to extract the driver files out
             
            3) These files should be extracted.
            a. iaahci.cat
            b. iaahci.inf
            c. iastor.cat
            d. iastor.inf
            e. iastor.sys
            f. license.txt
            g. readme.txt
            h. txtsetup.oem

            4) On the system you intend to Sysprep, add the first 5 files (a through e, from above) to the PnP drivers store (example: c:\drivers\sata).
             
            5) Add the following section to your c:\sysprep\sysprep.inf file:

[SysprepMassStorage]
PCI\VEN_8086&DEV_2682&CC_0104 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) ESB2 SATA RAID Controller (Server ESB2)
PCI\VEN_8086&DEV_2681&CC_0106 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) ESB2 SATA AHCI Controller (Server ESB2)
PCI\VEN_8086&DEV_27C1&CC_0106 = %systemdrive%\drivers\sata\iaahci.inf ; Intel(R) 82801GR/GH SATA AHCI Controller (Desktop ICH7R/DH)
PCI\VEN_8086&DEV_27C5&CC_0106 = %systemdrive%\drivers\sata\iaahci.inf ; Intel(R) 82801GBM SATA AHCI Controller (Mobile ICH7M)
PCI\VEN_8086&DEV_2652&CC_0106 = %systemdrive%\drivers\sata\iaahci.inf ; Intel(R) 82801FR SATA AHCI Controller (Desktop ICH6R)
PCI\VEN_8086&DEV_2653&CC_0106 = %systemdrive%\drivers\sata\iaahci.inf ; Intel(R) 82801FBM SATA AHCI Controller (Mobile ICH6M)
PCI\VEN_8086&DEV_27C3&CC_0104 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)
PCI\VEN_8086&DEV_24DF&CC_0104 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) 82801ER SATA RAID Controller (Desktop ICH5R)
PCI\VEN_8086&DEV_25B0&CC_0104 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) 6300ESB SATA RAID Controller
PCI\VEN_8086&DEV_2652&CC_0104 = %systemdrive%\drivers\sata\iastor.inf ; Intel(R) 82801FR SATA RAID Controller (Desktop ICH6R)

Please note that each line to be added starts with PCI\. These lines are continued over to a second row in this paper due to space limitations.
             
            6) Add or edit the following section of sysprep.inf to add the SATA drivers to the PnP drivers path.

[Unattended]
OemSkipEula=Yes
OemPnPDriversPath=drivers\sata; <your driver list will come here>
ConfirmHardware=No
OverwriteOemFilesOnupgrade=No
DriverSigningPolicy = Ignore
oempreinstall=yes
updateInstalledDrivers=Yes

            7) At this point, the Windows installation is ready for deployment. Run Sysprep on the updated OS, capture an image, and deploy the image to systems using SATA hardware set to the default AHCI SATA Native mode.


Note:  It is a good idea to pre-populate the sysprep.inf file with the supported MASS STORAGE devices.  Do this by running “sysprep –bmsd”.  After you have completed this, then add the SATA support identified above and comment out the following line(s) as you see below.  This will keep SYSPREP from rewriting the [SysprepMassStorage] section and erasing the added SATA support when you create the image.

[Sysprep]
;    BuildMassStorageSection = Yes





_____________________________

SATA integration - seems to always be asked
http://www.myitforum.com/forums/Adding_Sata-support_on_an_universal_image_for_zti%3F/m_145983/tm.htm
http://www.myitforum.com/forums/SATA_--_ACPI%2FCompatibility_Mode/m_164378/tm.htm

(in reply to tmiller)
Post #: 13
RE: Adding Sata-support on an universal image for zti? ... - 8/1/2007 10:55:01 AM   
nguru


Posts: 298
Score: 13
Joined: 2/7/2004
Status: offline
Folks,

I want to share a great tip on how to manage adding new storage drivers to the image, without running sysprep and recapturing the image. I had to add support for the Intel Matrix SATA Storage Controller. Even though the driver version was identical to the one used by the  T60 and X60 (7.0.0.1020), I was greeted with an INACCESSIBLE_BOOT_DEVICE 0x0000007B BSOD.

I ran into this situation yesterday while adding the Lenovo ThinkPad T61 and X61 to my current WIM image. My current image supports the  T60 and X60 models, which utilized the Geek's Guide to adding storage drivers. So the procedure still applied but I did not have to re-sysprep and re-capture my image. This is how I managed to accomplish this:

Mount the image to a folder like C:\MOUNTED

Load the System hive of your image (REG LOAD HKLM\SYS C:\MOUNTED\Windows\system32\config\system)

Start the registry editor

Go to

HKLM\Sys\ControlSet001\Control\CriticalDeviceDatabase

Add a new key and name it: pci#ven_8086&dev_2829&cc_0106

Under the newly created key add two string values:

ClassGUID:{4D36E96A-E325-11CE-BFC1-08002BE10318}
Service: iaStor

Right-click SYS subtree and select UNLOAD HIVE from the File menu.

Edit the SYSPREP.INF file:

Under the section [SysprepMassStorage] add a new line:
PCI\VEN_8086&DEV_2829&CC_0106=%systemdrive%\drivers\sata\iaahci.inf

I made sure I have the new Intel 965 Chipset drivers to include support for the Ultra ATA Controller (PCI\VEN_8086&DEV_2850&CC_0101) by copying the extracted drivers to %systemdrive%\drivers\Chipset and double-checking DevicePath value in the registry to make sure it is appended there.


Unmount the image, then test it by applying it to a T61 or X61.

I tested the image on all my supported models successfully (my image supports ThinkPad T42/T43/T60/T61/X41/X60/X61 and Dell OptiPlex GX270/280/620/745).

Hope this helps someone out there. I like the fact that I did not have to run sysprep again for the purpose of adding storage drivers.

Happy Imaging,
Nguru

(in reply to cnackers)
Post #: 14
RE: Adding Sata-support on an universal image for zti? ... - 8/1/2007 10:57:52 AM   
cnackers


Posts: 191
Score: 6
Joined: 9/22/2006
From: Madison, WI
Status: offline
Yeah, what you did should work since essentialy that data just gets added into the registry anyways.

I still rebuild a new image because it's a good time to integrate new patches and/or other fixes that have come up.

Definetly a big thanks for the tip though, i'm sure it will be usefull.

_____________________________

SATA integration - seems to always be asked
http://www.myitforum.com/forums/Adding_Sata-support_on_an_universal_image_for_zti%3F/m_145983/tm.htm
http://www.myitforum.com/forums/SATA_--_ACPI%2FCompatibility_Mode/m_164378/tm.htm

(in reply to nguru)
Post #: 15
RE: Adding Sata-support on an universal image for zti? ... - 8/1/2007 6:42:56 PM   
jarwidmark

 

Posts: 614
Score: 36
Joined: 12/12/2004
From: Halmstad, Sweden
Status: offline
This is a nice tip!   Actually most P2V solutions are using these techniques... If you want some free samples, check the free Ultimate-P2V solution (http://www.rtfm-ed.co.uk/?page_id=174 ) If you dig into the sample files (batchfiles) you will some buslogic drivers (and others) being injected offline. Microsoft also provides the msdbinst.exe tools for oem to offline injection of storage drivers... unfortunately not the greatest tool on the planet ...

Shorthand: Since the process for generating the reference image should be fully amtomated anyway, I recommend continue to use the standard sysprep method.



_____________________________

Regards
Johan Arwidmark
Microsoft MVP - Setup/Deployment

(in reply to cnackers)
Post #: 16
RE: Adding Sata-support on an universal image for zti? ... - 8/7/2007 5:42:00 AM   
r2000

 

Posts: 249
Score: 0
Joined: 9/8/2005
Status: offline
Hi!.
I have used the old version of iastor.sys (6.2.1.1002) for a couple of month without any problems. But no I tried to install a new computer model (Lenovo x61s) and find out that I need to change to a new version.

So I downloaded the 7.6.0.1011 version and will now try to implement the new version, it was a couple of month since last.

My question is how I identify the values I should add to txtsetup.sif (winpe).
Should I use the values from iaahci.inf and iastor, after some modification I get following values?

PCI\VEN_8086&DEV_2682&CC_0104 = iastor
PCI\VEN_8086&DEV_27C3&CC_0104 = iastor
PCI\VEN_8086&DEV_27C6&CC_0104 = iastor
PCI\VEN_8086&DEV_2822&CC_0104 = iastor
PCI\VEN_8086&DEV_282A&CC_0104 = iastor
PCI\VEN_8086&DEV_2653&CC_0106 = iastor
PCI\VEN_8086&DEV_2681&CC_0106 = iastor
PCI\VEN_8086&DEV_27C1&CC_0106 = iastor
PCI\VEN_8086&DEV_27C5&CC_0106 = iastor
PCI\VEN_8086&DEV_2821&CC_0106 = iastor
PCI\VEN_8086&DEV_2829&CC_0106 = iastor
PCI\VEN_8086&DEV_2922&CC_0106 = iastor
PCI\VEN_8086&DEV_5029&CC_0106 = iastor

Maybe someone use the new version so you can give me the correct values for txtsetup.sif and sysprep.inf.

Best regards
R2000

(in reply to jarwidmark)
Post #: 17
RE: Adding Sata-support on an universal image for zti? ... - 8/21/2007 2:27:51 AM   
r2000

 

Posts: 249
Score: 0
Joined: 9/8/2005
Status: offline
Anyone that using the latest version 7.6.0.1011?

//r2000

(in reply to r2000)
Post #: 18
RE: Adding Sata-support on an universal image for zti? ... - 8/21/2007 9:07:02 AM   
cnackers


Posts: 191
Score: 6
Joined: 9/22/2006
From: Madison, WI
Status: offline
I have someone working on integrating it right now.  If i remember correctly there are 3 new lines you need to add.

_____________________________

SATA integration - seems to always be asked
http://www.myitforum.com/forums/Adding_Sata-support_on_an_universal_image_for_zti%3F/m_145983/tm.htm
http://www.myitforum.com/forums/SATA_--_ACPI%2FCompatibility_Mode/m_164378/tm.htm

(in reply to r2000)
Post #: 19
RE: Adding Sata-support on an universal image for zti? ... - 8/22/2007 7:34:00 AM   
kimkjaerjensen

 

Posts: 1
Score: 0
Joined: 8/22/2007
Status: offline
I finally figured it out how to support Lenovo T61 and Lenovo X61s, with help from you guys.
I am deploying one image to more than 50 different computer models using SMS 2003 OSD. When new SATA drivers are needed, I have to update the WinPE and Windows XP image.
To support the newest Intel SATA devices, this guide might help you out:

First you need to download the Intel Matrix Storage Manager driver version 7.6.0.1011

Updating WinPE
Copy the iastor.sys file to WinPE \i386\system32\drivers
Modify WinPE \i386\txtsetup.sif
In the [SCSI.LOAD] section add
Iastor = iastor.sys,4
In the [HardwareIdsDatabase] section, add
PCI\VEN_8086&DEV_2652&CC_0104 = iastor
PCI\VEN_8086&DEV_2682&CC_0104 = iastor
PCI\VEN_8086&DEV_27C3&CC_0104 = iastor
PCI\VEN_8086&DEV_27C6&CC_0104 = iastor
PCI\VEN_8086&DEV_2822&CC_0104 = iastor
PCI\VEN_8086&DEV_282A&CC_0104 = iastor
PCI\VEN_8086&DEV_2652&CC_0106 = iastor
PCI\VEN_8086&DEV_2653&CC_0106 = iastor
PCI\VEN_8086&DEV_2681&CC_0106 = iastor
PCI\VEN_8086&DEV_27C1&CC_0106 = iastor
PCI\VEN_8086&DEV_27C5&CC_0106 = iastor
PCI\VEN_8086&DEV_2821&CC_0106 = iastor
PCI\VEN_8086&DEV_2829&CC_0106 = iastor
PCI\VEN_8086&DEV_2922&CC_0106 = iastor
PCI\VEN_8086&DEV_5029&CC_0106 = iastor

Update Windows XP (Sysprep.inf)
I use SMS Capture which uses Sysprep for preparing an image capture. To add support for the new SATA drivers I have done the following:
Copy the extracted Intel SATA drivers (iastor.cat, iastor.inf, IaStor.sys, iaahci.cat, iaahci.inf, TXTSETUP.OEM) to a location on the local system i.e. c:\sysprep\i386\$OEM$\textmode\SATA\
In sysprep.inf I have set BuildMassStorageSection = No, and manually added SATA, VMware and all standard WinXP SP2 storage drivers. You might want to experiment using BuildMassStorageSection = Yes.
Edit c:\sysprep\sysprep.inf and add/edit the following entries
[Sysprep]
BuildMassStorageSection = No
[SysprepMassStorage]
; Added for Intel SATA Controller Support
PCI\VEN_8086&DEV_2652&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_2682&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_27C3&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_27C6&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_2822&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_282A&CC_0104=c:\sysprep\i386\$OEM$\textmode\SATA\iastor.inf
PCI\VEN_8086&DEV_2652&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_2653&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_2681&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_27C1&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_27C5&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_2821&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_2829&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_2922&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
PCI\VEN_8086&DEV_5029&CC_0106=c:\sysprep\i386\$OEM$\textmode\SATA\iaahci.inf
; End of drivers added for Intel SATA Controller Support
; Added for VMware support
pci\ven_104b&dev_1040=c:\sysprep\i386\$OEM$\textmode\VMware\vmscsi.inf
; End of drivers added for VMware support
;Standard Windows XP SP2 drivers
.
.
.

Thats it, and it runs on the two Lenovo T61 and X61s on my desk.

(in reply to cnackers)
Post #: 20
RE: Adding Sata-support on an universal image for zti? ... - 9/19/2007 2:29:06 PM   
cnackers


Posts: 191
Score: 6
Joined: 9/22/2006
From: Madison, WI
Status: offline
Quick question, since we've got some very knowledgeable people on this thread.

I don't have any issues with Native SATA support for any of our models. However, i am having some trouble getting ICH8 USB controller recognized.  For example on a ICH7 model, the USB Controller shows up as "Intel 82801g (ICH7 Family)....Controller" but on the ICH8 models, it's only showing up as "Standard Enhanced PCI to USB Host Controller". Now The Intel 82801HEM/BHM SATA AHCI Controller is showing up correctly under IDE ATA/ATAPI controllers.

Now i can manually update the drive and get it to identify properly, but it's now showing up through my image when i lay it down, whereas the other models do.  And for some reason the SoundmaxHD card isn't automatically installing either, and i've the driver identified and the proper commands in Sysprep.inf

Am i missing something?

< Message edited by cnackers -- 9/19/2007 2:31:48 PM >


_____________________________

SATA integration - seems to always be asked
http://www.myitforum.com/forums/Adding_Sata-support_on_an_universal_image_for_zti%3F/m_145983/tm.htm
http://www.myitforum.com/forums/SATA_--_ACPI%2FCompatibility_Mode/m_164378/tm.htm

(in reply to kimkjaerjensen)
Post #: 21
RE: Adding Sata-support on an universal image for zti? ... - 10/3/2007 3:25:30 PM   
cnackers


Posts: 191
Score: 6
Joined: 9/22/2006
From: Madison, WI
Status: offline
quote:

ORIGINAL: cnackers

Quick question, since we've got some very knowledgeable people on this thread.

I don't have any issues with Native SATA support for any of our models. However, i am having some trouble getting ICH8 USB controller recognized.  For example on a ICH7 model, the USB Controller shows up as "Intel 82801g (ICH7 Family)....Controller" but on the ICH8 models, it's only showing up as "Standard Enhanced PCI to USB Host Controller". Now The Intel 82801HEM/BHM SATA AHCI Controller is showing up correctly under IDE ATA/ATAPI controllers.

Now i can manually update the drive and get it to identify properly, but it's now showing up through my image when i lay it down, whereas the other models do.  And for some reason the SoundmaxHD card isn't automatically installing either, and i've the driver identified and the proper commands in Sysprep.inf

Am i missing something?


Regarding the controllers, the version of the driver i had was unsigned...

same for the audio, it wont' install because it's unsigned... signed drivers slipstream, unsigned ones don't

_____________________________

SATA integration - seems to always be asked
http://www.myitforum.com/forums/Adding_Sata-support_on_an_universal_image_for_zti%3F/m_145983/tm.htm
http://www.myitforum.com/forums/SATA_--_ACPI%2FCompatibility_Mode/m_164378/tm.htm

(in reply to cnackers)
Post #: 22
RE: Adding Sata-support on an universal image for zti? ... - 10/7/2007 4:39:07 PM   
fracine


Posts: 1609
Score: 23
Joined: 11/17/2001
From: Québec, Canada
Status: offline
I have a similar problem with Toshiba Tecra A9.  I already get a look at
http://www.altirigos.com/vbulletin/showthread.php?t=7429
I am trying to create a sysprep for Tecra A9 with no success.

The SysprepMassStorage section is looking like that.

SysprepMassStorage
;Toshiba RAID
;S3
pci\ven_8086&dev_2653&subsys_0f001179="C:\Drivers\mass\ToshRaid\KR10I.inf"
;S4
PCI\VEN_8086&DEV_27C5&SUBSYS_0F001179="C:\Drivers\mass\ToshRaid\KR10I.inf"
;A9
PCI\VEN_8086&DEV_2829="C:\Drivers\mass\A9\iaahci.inf"
PCI\VEN_8086&DEV_2850="C:\Drivers\mass\A9\ich8ide.inf"

http://forums.computers.toshiba-europe.com/forums/message.jspa?messageID=98860#98860

quote:

Windows Registry Editor Version 5.00

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2850
"Service"="pciide"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2829&cc_0106
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="iaStor"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PCIIde
"ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000003
"Type"=dword:00000001
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor
"Type"=dword:00000001
"Start"=dword:00000000
"Group"="SCSI miniport"
"ErrorControl"=dword:00000001
"ImagePath"="system32\\driversiaStor.sys"
"tag"=dword:00000019
"DisplayName"="Intel AHCI Controller"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters
"queuePriorityEnable"=dword:00000000
"BusType"=dword:00000003

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters\Port0
"AN"=dword:00000000
"LPM"=dword:00000000
"LPMSTATE"=dword:00000000
"LPMDSTATE"=dword:00000000
"GTF"=dword:00000000
"DIPM"=dword:00000000

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters\Port1
"AN"=dword:00000000
"LPM"=dword:00000000
"LPMSTATE"=dword:00000000
"LPMDSTATE"=dword:00000000
"GTF"=dword:00000000
"DIPM"=dword:00000000

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters\Port2
"AN"=dword:00000000
"LPM"=dword:00000000
"LPMSTATE"=dword:00000000
"LPMDSTATE"=dword:00000000
"GTF"=dword:00000000
"DIPM"=dword:00000000

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum
"0"="PCI\\VEN_8086&DEV_2829&SUBSYS_00011179&REV_033&b1bfb68&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001
  • Install you Prep-Image on a working notebook.
  • Now run the Reg-File on this notebook and merge it.
  • From the previous downloaded Storage Manager (Inf) copy the following:

      copy *.sys %systemroot%\system32\drivers
      copy *.inf %systemroot%\inf
      copy *.cat %systemroot%\system32\CatRoot{F750E6C3-38EE-11D1-85E5-00C04FC295EE}



    • Anyone have such problem?  Do I need to install Intel Matrix storage?
      I think it is interesting to add it to the critical database but will it affect my universal image behavior?
      My actual image is looping with a BSOD and its too fast to read the error message.

      < Message edited by fracine -- 10/7/2007 4:41:45 PM >


      _____________________________

      François Racine
      Technicien

      Please rate my post :)

      (in reply to cnackers)
      Post #: 23
      RE: Adding Sata-support on an universal image for zti? - 10/8/2007 11:06:33 PM   
      dutchboy

       

      Posts: 2
      Score: 0
      Joined: 10/8/2007
      Status: offline
      I finally had to break down and register for this site. This posting has been monumentally helpful in getting my BartPE configuration loaded on our new t61s and x61s. Kind of.

      I've been fighting with booting BartPE for a couple of weeks now. I do have one image booting properly, but any subsequent BartPE builds have failed to boot (BSOD stop code 0x7 - sata controller). copying files from the working configuration over to the non-working one makes it bootable. Unfortunately I have no idea which files are making it bootable by copying! I've done a folder comparison and nothing works except copying the \system32 folder on top of the broken \system32 folder.

      This is while trying to boot from USB stick.

      Here's where it gets really weird. I built a BartPE iso and burned it to CD. It boots on my Thinkpads NO problem. But if I PEtoUSB that same output, I am not able to boot at all.

      Any pointers to what I am doing wrong? Am I forgetting to include a chipset driver perhaps? It's especially perplexing to me that I can burn the ISO image and boot from CD but am unable to boot from USB.

      Either way, thanks to all the posters contributing here, in some convaluted way it's helped (...sort of :))

      (in reply to matbe)