这个问题看来没有什么好办法....
windows 好像启动时只会自动加载C:\Windows\System32\Drivers中的*.sys启动.
oem1.inf 和驱动文件会根据本机的硬件编译为
atikmdag.sys
ativcaxx.cpa
ativcaxx.vp
进C:\Windows\System32\Drivers中, 还会本成相应的注册表文件, 例如
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000000
"Tag"=dword:00000004
"ImagePath"=hex(2):5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,5c,00,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,61,00,74,00,69,00,6b,00,6d,00,64,00,\
61,00,67,00,2e,00,73,00,79,00,73,00,00,00
"Group"="Video"
"Owners"=hex(7):6f,00,65,00,6d,00,31,00,2e,00,69,00,6e,00,66,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Device0]
"Device Description"="ATI Mobility Radeon X1300 "
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Device1]
"Device Description"="ATI Mobility Radeon X1300 "
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Device2]
"Device Description"="ATI Mobility Radeon X1300 "
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Device3]
"Device Description"="ATI Mobility Radeon X1300 "
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Video]
"Service"="atikmdag"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\atikmdag\Enum]
"0"="PCI\\VEN_1002&DEV_714A&SUBSYS_30AC103C&REV_00\\4&33b30e83&0&0008"
"Count"=dword:00000001
"NextInstance"=dword:00000001
同样是ati的显卡, 可能换了个硬件就不行了。
看来用pecmd devi %windir%\inf\oem*.inf加载还是通用一些。想让直接加载的话就成了本机的专用PE了…… |