1.有个叫nlite的软件是专门用来在WinXP原始镜像中集成驱动或者软件包的。但是手动将sata驱动集成到安装镜像中也不复杂,再加上笔者使用的自己配的PXE镜像方式安装,更改文件也比较方便,所以就选择的手动加入驱动。
2.参考了http://h10025.www1.hp.com/ewfrf/wc/document?lc=zh-hans&dlc=zh-hans&cc=cn&lang=zh-hans&product=3350318&docname=c00758841 和http://www.msfn.org/board/topic/90716-adding-intel-sata-drivers-to-an-installation-cd-in-15-steps/两个帖子。
按照上面的方法基本就行了。
Steps to add SATA drivers to the CD 1) Copy all the directories and files from the Windows XP CD to a temporary folder (these guidelines will use c:\xpcd) 2) Download the Floppy Configuration Utility from Intel.com 3) Extract all the files from the downloaded file. You can use an extraction tool or if you choose just to run the setup installer the files will be located on a floppy. (these guidelines will use the floppy installer) 4) These files should be located on the floppy disk. 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) Create the following path in the temporary folder: c:\xpcd\$oem$\$1\drivers\sata 6) Copy all the files from step 4 to the c:\xpcd\i386 folder. You could delete the readme.txt and license.txt if you want, they are not important for the installation. 7) Also copy all the files from step 4 to the c:\xpcd\$oem$\$1\drivers\sata folder. 8) Open the c:\xpcd\i386\txtsetup.sif file in Notepad. 9) Go to the end of the file. There will be several blank lines. 10) Move the cursor up a few lines. This is necessary because there is a hidden marker at the end of the file. 11) Add the following lines [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_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® 82801 SATA RAID/AHCI Controller (ICH5,6,7)" 12) Save the file and exit notepad. 13) Open the c:\xpcd\i386\winnt.sif in notepad 14) Under the section [Unattended], add the following lines: OemPreinstall=yes OemPnPDriversPath=drivers\sata DriverSigningPolicy = Ignore
3.对于32位OS上面的就够了,对于64位OS,[SourceDisksFiles]节应换成[SourceDisksFiles.amd64]节。就是
[SourceDisksFiles.amd64] 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
4.集成过以后主板AHCI开启,安装XP一切到底,安装完也能顺利启动,进入后sata控制器直接就是Intel 7 Serial ×××××。