|
2#
楼主 |
发表于 2011-4-21 15:34:14
|
只看该作者
先介绍下我的安装环境
880g-ud3h主板,三块硬盘,两个500g做的两个raid0,一个1t的单盘
准备需要的软件,驱动:
grub4dos firadisk0.0.1.30 windows2008的iso和2008的opk或者aik wincontig psexec
先安装aik或者opk,用它来生成一个离线集成驱动的应答文件,然后用pkgmgr配合应答文件把驱动集成到install.wim,步骤如下:
打开sim映像管理器,加载编录文件,我准备安装的是企业版,就加载install_Windows Longhorn SERVERENTERPRISE.clg,新建一个应答文件,点分布共享/创建分布共享,将firadisk的驱动目录和所需的amd raid的驱动目录放入Out-of-Box Drivers,回到sim,在Out-of-Box Drivers右键,选择 插入驱动路径以传送 ,1 2 5全选,然后保存应答文件备用
复制iso的sources目录到硬盘,建立一个空目录准备挂载install.wim
用imagex /mountrw挂载install.wim 2到刚才建立的空目录,用pkgmgr开始集成驱动
C:\Program Files\Windows OPK\Tools\amd64>imagex /mountrw d:sources\install.wim 2
d:\test
ImageX Tool for Windows
Copyright (C) Microsoft Corp. All rights reserved.
Mounting (RW): [D:\sources\install.wim, 2] ->
[d:\test]
Successfully mounted image (RW).
C:\Program Files\Windows OPK\Tools\amd64>
集成驱动
C:\Program Files\Windows OPK\Tools\amd64\Servicing>pkgmgr.exe /o:"d:\test\;d:\te
st\windows" /n:"C:\Users\Administrator\Desktop\2008.xml"
C:\Program Files\Windows OPK\Tools\amd64\Servicing>
添加注册表缺少的部分
把psexec复制到system32,打开注册表/加载配置单元,把释放到test目录的2008的注册表system挂载,在cmd下cd到system32
psexec -i -d -s regedit /s "C:\Users\Administrator\Desktop\install_firadisk.reg"
reg的内容如下
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0004]
"InfSection"="FiraDiskDevice"
"MatchingDeviceId"="root\\firadisk"
"DriverDesc"="FiraDisk Virtual Disk Enumerator"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\CriticalDeviceDatabase\root#firadisk]
"Service"="FiraDisk"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&1aafb3d5&0&1.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}]
"DeviceInstance"="FIRADISK\\Disk\\1&1aafb3d5&0&1.1"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&1aafb3d5&0&1.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\#]
"SymbolicLink"="\\\\?\\FIRADISK#Disk#1&1aafb3d5&0&1.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&1aafb3d5&0&2.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}]
"DeviceInstance"="FIRADISK\\Disk\\1&1aafb3d5&0&2.1"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&1aafb3d5&0&2.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\#]
"SymbolicLink"="\\\\?\\FIRADISK#Disk#1&1aafb3d5&0&2.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Control\FiraDisk]
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Enum\FIRADISK]
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Enum\FIRADISK\Disk\1&1aafb3d5&0&1.1]
"HardwareID"=hex(7):46,00,49,00,52,00,41,00,44,00,49,00,53,00,4b,00,5c,00,44,\
00,69,00,73,00,6b,00,00,00,47,00,65,00,6e,00,44,00,69,00,73,00,6b,00,00,00,\
00,00
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Enum\FIRADISK\Disk\1&1aafb3d5&0&2.1]
"HardwareID"=hex(7):46,00,49,00,52,00,41,00,44,00,49,00,53,00,4b,00,5c,00,44,\
00,69,00,73,00,6b,00,00,00,47,00,65,00,6e,00,44,00,69,00,73,00,6b,00,00,00,\
00,00
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Enum\Root\UNKNOWN\0000]
"HardwareID"=hex(7):72,00,6f,00,6f,00,74,00,5c,00,66,00,69,00,72,00,61,00,64,\
00,69,00,73,00,6b,00,00,00,00,00
"CompatibleIDs"=hex(7):64,00,65,00,74,00,65,00,63,00,74,00,65,00,64,00,5c,00,\
66,00,69,00,72,00,61,00,64,00,69,00,73,00,6b,00,00,00,00,00
"Service"="FiraDisk"
"DeviceDesc"="@oem3.inf,%firadiskdevice%;FiraDisk Virtual Disk Enumerator"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\Enum\Root\UNKNOWN\0000\Control]
"ActiveService"="FiraDisk"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\services\disk\Enum]
"0"="FIRADISK\\Disk\\1&1aafb3d5&0&1.1"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\services\FiraDisk]
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,66,00,69,00,72,00,61,00,64,00,69,\
00,73,00,6b,00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="FiraDisk Driver"
[HKEY_LOCAL_MACHINE\ttttt\ControlSet001\services\partmgr\Enum]
"0"="FIRADISK\\Disk\\1&1aafb3d5&0&1.1"
提交修改,保存映像
imagex /unmount d:\test /commit
[ 本帖最后由 yueyezhan 于 2011-4-21 16:17 编辑 ] |
|