|
本帖最后由 Sor/heart 于 2014-4-11 04:09 编辑
目前测试成功,Intel ICH10R 驱动在U盘模拟软驱(USB-FDD)同时放入32位(XP/2003/win7/2008)和64位(2003/win7/2008)在“X86”和“X64”目录中。修改的文件如下。
带“黑体”部分是从"X86" txtsetup.oem 复制过来的,改动地方就在黑体部分。修改部分说明:
1、disk2 = "Intel(R) Rapid Storage Technology Driver", \x86\iaStor.sys, \x86——这一句中的:“\x86“就是对文件目录的具体指向,同时决定什么系统的驱动;
2、iaStor_8R9R10RDO6 = "Intel(R) ICH8R/ICH9R/ICH10R/DO/5 Series/3400 Series SATA RAID Controller X86"——这一句中,在末尾加了“X86”,其实就是对应驱动,这一句就是定制“菜单”,在前面把"_8R9R10RDO5"(64位)改成“_8R9R10RDO6”(32位)以示区别,这个编号可以按自己想法更改,但要对应“3、4”两条,不然驱动会发生无法找到的问题;
3、[Files.scsi.iaStor_8R9R10RDO6]
driver = disk2, iaStor.sys, iaStor
inf = disk2, iaStor.inf
catalog = disk2, iaStor.cat
上面这段可以直接复制,然后把disk1改变成disk2,其实disk1、2…… 就是不同目录在这里
4、[HardwareIds.scsi.iaStor_8R9R10RDO6]
id = "PCI\VEN_8086&DEV_2822&CC_0104","iaStor"
这段同2的原理,改变iaStor_8R9R10RDO5变为iaStor_8R9R10RDO6以对应第二条设定的菜单选项。
改完上面这4条就算把X86和X64驱动指向改完了,然后拷贝这个txtsetup.oem文件到磁盘根目录即可,目录中的.OEM文件可以不管。
已经在XP\2003中测试完毕,选错了X86或者X64选项,只要系统不符合会提示错误,再选择一次就行了。
; Copyright (c) 2003-10 Intel Corporation
;#############################################################################
;#
;# Filename: TXTSETUP.OEM
;#
;#############################################################################
[Disks]
disk1 = "Intel(R) Rapid Storage Technology Driver", \x64\iaStor.sys, \x64
disk2 = "Intel(R) Rapid Storage Technology Driver", \x86\iaStor.sys, \x86
[Defaults]
scsi = iaStor_8R9R10RDO6
;#############################################################################
[scsi]
; iaAHCI.inf
;iaAHCI_ESB2 = "Intel(R) ESB2 SATA AHCI Controller"
;iaAHCI_7RDH = "Intel(R) ICH7R/DH SATA AHCI Controller"
;iaAHCI_7MMDH = "Intel(R) ICH7M/MDH SATA AHCI Controller"
;iaAHCI_8RDHDO = "Intel(R) ICH8R/DH/DO SATA AHCI Controller"
;iaAHCI_8MEM = "Intel(R) ICH8M-E/M SATA AHCI Controller"
;iaAHCI_9RDODH = "Intel(R) ICH9R/DO/DH SATA AHCI Controller"
;iaAHCI_9MEM = "Intel(R) ICH9M-E/M SATA AHCI Controller"
;iaAHCI_10DDO = "Intel(R) ICH10D/DO SATA AHCI Controller"
iaAHCI_10R = "Intel(R) ICH10R SATA AHCI Controller"
;iaAHCI_5 = "Intel(R) 5 Series 4 Port SATA AHCI Controller"
;iaAHCI_5_1 = "Intel(R) 5 Series 6 Port SATA AHCI Controller"
;iaAHCI_5_1_1 = "Intel(R) 5 Series/3400 Series SATA AHCI Controller"
; iaStor.inf
;iaStor_ESB2 = "Intel(R) ESB2 SATA RAID Controller"
;iaStor_7RDH = "Intel(R) ICH7R/DH SATA RAID Controller"
;iaStor_7MDH = "Intel(R) ICH7MDH SATA RAID Controller"
iaStor_8R9R10RDO5 = "Intel(R) ICH8R/ICH9R/ICH10R/DO/5 Series/3400 Series SATA RAID Controller X64"
iaStor_8R9R10RDO6 = "Intel(R) ICH8R/ICH9R/ICH10R/DO/5 Series/3400 Series SATA RAID Controller X86"
;iaStor_8ME9ME5 = "Intel(R) ICH8M-E/ICH9M-E/5 Series SATA RAID Controller"
;#############################################################################
; iaAHCI.inf
[Files.scsi.iaAHCI_ESB2]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_7RDH]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_7MMDH]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_8RDHDO]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_8MEM]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_9RDODH]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_9MEM]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_10DDO]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_10R]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_5]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_5_1]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
[Files.scsi.iaAHCI_5_1_1]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaAHCI.inf
catalog = disk1, iaAHCI.cat
; iaStor.inf
[Files.scsi.iaStor_ESB2]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaStor.inf
catalog = disk1, iaStor.cat
[Files.scsi.iaStor_7RDH]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaStor.inf
catalog = disk1, iaStor.cat
[Files.scsi.iaStor_7MDH]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaStor.inf
catalog = disk1, iaStor.cat
[Files.scsi.iaStor_8R9R10RDO5]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaStor.inf
catalog = disk1, iaStor.cat
[Files.scsi.iaStor_8R9R10RDO6]
driver = disk2, iaStor.sys, iaStor
inf = disk2, iaStor.inf
catalog = disk2, iaStor.cat
[Files.scsi.iaStor_8ME9ME5]
driver = disk1, iaStor.sys, iaStor
inf = disk1, iaStor.inf
catalog = disk1, iaStor.cat
;#############################################################################
[Config.iaStor]
value = "", tag, REG_DWORD, 1b
value = "", ErrorControl, REG_DWORD, 1
value = "", Group, REG_SZ, "SCSI Miniport"
value = "", Start, REG_DWORD, 0
value = "", Type, REG_DWORD, 1
;#############################################################################
; iaAHCI.inf
[HardwareIds.scsi.iaAHCI_ESB2]
id = "PCI\VEN_8086&DEV_2681&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_7RDH]
id = "PCI\VEN_8086&DEV_27C1&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_7MMDH]
id = "PCI\VEN_8086&DEV_27C5&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_8RDHDO]
id = "PCI\VEN_8086&DEV_2821&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_8MEM]
id = "PCI\VEN_8086&DEV_2829&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_9RDODH]
id = "PCI\VEN_8086&DEV_2922&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_9MEM]
id = "PCI\VEN_8086&DEV_2929&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_10DDO]
id = "PCI\VEN_8086&DEV_3A02&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_10R]
id = "PCI\VEN_8086&DEV_3A22&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_5]
id = "PCI\VEN_8086&DEV_3B29&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_5_1]
id = "PCI\VEN_8086&DEV_3B2F&CC_0106","iaStor"
[HardwareIds.scsi.iaAHCI_5_1_1]
id = "PCI\VEN_8086&DEV_3B22&CC_0106","iaStor"
; iaStor.inf
[HardwareIds.scsi.iaStor_ESB2]
id = "PCI\VEN_8086&DEV_2682&CC_0104","iaStor"
[HardwareIds.scsi.iaStor_7RDH]
id = "PCI\VEN_8086&DEV_27C3&CC_0104","iaStor"
[HardwareIds.scsi.iaStor_7MDH]
id = "PCI\VEN_8086&DEV_27C6&CC_0104","iaStor"
[HardwareIds.scsi.iaStor_8R9R10RDO5]
id = "PCI\VEN_8086&DEV_2822&CC_0104","iaStor"
[HardwareIds.scsi.iaStor_8R9R10RDO6]
id = "PCI\VEN_8086&DEV_2822&CC_0104","iaStor"
[HardwareIds.scsi.iaStor_8ME9ME5]
id = "PCI\VEN_8086&DEV_282A&CC_0104","iaStor" |
|