|
原帖由 longwater 于 2011-12-16 23:23 发表
对了,忘记了,这个帖子好像都是讲G4D的,我对G4D还不熟练,您的这个2003IMG镜像是否可以修改BOOT.INI后在NTLDR引导启动呢?麻烦您指点一二。谢谢
这样试试,Boot.ini
ramdisk(0)\WINDOWS="RAM2k3" /fastdetect /rdpath=multi(0)disk(0)rdisk(0)partition(1)\2k3.img /minit /noexecute=optin
Firadisk的没试过,不知道firadisk的行不行,不行的话你用你加载IMG到A盘,按如下操作转成ms的ramdisk驱动(这个我试过)
1:复制ms的ramdisk.sys 到A:\windows\system32\drivers下,复制ramdisk.inf到A:\windows\inf下
为避免以后热备修改注册表,先将ramdisk.inf中的最后部份的 SERVICE_DEMAND_START = 3 改为0
2:将A:\windows\system32\config 下的 system 加载到 HKEY_LOCAL_MACHINE 下,取名为 SYS,然后打开SYS\ControlSet001\Enum,右键设Everyone权限为允许读写。
3:导入如下注册表
Windows Registry Editor Version 5.00
;;;;==========Delete Firadisk Driver===============;;;;
[-HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0000]
[-HKEY_LOCAL_MACHINE\SYS\ControlSet001\Control\CriticalDeviceDatabase\root#firadisk]
[-HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&2b2f4947&0&1.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#Disk#1&2b2f4947&0&2.1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\DeviceClasses\{53f56308-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#CDROM#1&2b2f4947&0&2.2#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\DeviceClasses\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}\##?#FIRADISK#CDROM#1&2b2f4947&0&2.2#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
[-HKEY_LOCAL_MACHINE\SYS\ControlSet001\Control\FiraDisk]
[-HKEY_LOCAL_MACHINE\SYS\ControlSet001\Enum\FIRADISK]
[-HKEY_LOCAL_MACHINE\SYS\ControlSet001\Enum\Root\firadisk]
[-HKEY_LOCAL_MACHINE\SYS\ControlSet001\Services\firadisk]
;;;;;;;;;;;;;;;;;;;;;;;;;======Ms ramdisk========;;;;;;;;;;;;;;;;;;;;
[-HKEY_LOCAL_MACHINE\sys\MountedDevices]
[HKEY_LOCAL_MACHINE\sys\MountedDevices]
"\\DosDevices\\C:"=hex:fc,57,b2,d9,4e,68,cb,4d,ab,79,03,cf,a2,f6,b7,50
[HKEY_LOCAL_MACHINE\system\CurrentControlSet\Control]
"SystemBootDevice"="ramdisk(0)"
[HKEY_LOCAL_MACHINE\SYS\Setup]
"SystemPartition"="\\Device\\Ramdisk{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}]
@="Ramdisk"
"Class"="Ramdisk"
"Icon"="-5"
"SilentInstall"="1"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Ramdisk\RamVolume\{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}]
"DeviceDesc"="Windows RAM Disk Device (卷)"
"LocationInformation"="Ramdisk\\0"
"Capabilities"=dword:000000f0
"ConfigFlags"=dword:00000000
"HardwareID"=hex(7):52,00,61,00,6d,00,64,00,69,00,73,00,6b,00,5c,00,52,00,61,\
00,6d,00,56,00,6f,00,6c,00,75,00,6d,00,65,00,00,00,00,00
"ClassGUID"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}"
"Class"="Ramdisk"
"Driver"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\\0001"
"Mfg"="Microsoft"
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\0000]
"InfPath"="ramdisk.inf"
"InfSection"="BusInstall"
"InfSectionExt"=".NT"
"ProviderName"="Microsoft"
"DriverDateData"=hex:00,80,62,c5,c0,01,c1,01
"DriverDate"="7-1-2001"
"DriverVersion"="5.1.2600.5512"
"MatchingDeviceId"="ramdisk"
"DriverDesc"="Windows RAM Disk Controller"
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\0001]
"InfPath"="ramdisk.inf"
"InfSection"="VolumeInstall"
"InfSectionExt"=".NT"
"ProviderName"="Microsoft"
"DriverDateData"=hex:00,80,62,c5,c0,01,c1,01
"DriverDate"="7-1-2001"
"DriverVersion"="5.1.2600.5512"
"MatchingDeviceId"="ramdisk\\ramvolume"
"DriverDesc"="Windows RAM Disk Device (卷)"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Ramdisk\RamVolume\{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}\LogConf]
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Ramdisk\RamVolume\{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}\Control]
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\RAMDISK]
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\RAMDISK\0000]
"Capabilities"=dword:00000000
"Class"="Ramdisk"
"ClassGUID"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}"
"ConfigFlags"=dword:00000000
"DeviceDesc"="Windows RAM Disk Controller"
"Driver"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\\0000"
"HardwareID"=hex(7):72,00,61,00,6d,00,64,00,69,00,73,00,6b,00,00,00,00,00
"Mfg"="Microsoft"
"Service"="Ramdisk"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\RAMDISK\0000\Control]
"ActiveService"="Ramdisk"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\RAMDISK\0000\LogConf]
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk]
"Description"="Windows RAM Disk Driver"
"DisplayName"="Windows RAM Disk Driver"
"ErrorControl"=dword:00000001
"Group"="Primary disk"
"ImagePath"="system32\\drivers\\ramdisk.sys"
"Start"=dword:00000000
"Tag"=dword:00000001
"Type"=dword:00000001
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk\Debug]
"DebugComponents"=dword:00000000
"DebugLevel"=dword:00000000
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk\Parameters]
"ReportDetectedDevice"=dword:00000000
;;;;;;;;;;;;;FLTMGR==FSFilter Infrastructure;;;;;;;;;;;;;;;;
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Control\GroupOrderList]
"FSFilter Infrastructure"=hex:01,00,00,00,01,00,00,00
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Enum\Root\LEGACY_FLTMGR]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000]
"Service"="FltMgr"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000000
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="FltMgr"
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000\Control]
"*NewlyCreated*"=dword:00000000
"ActiveService"="FltMgr"
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Services\FltMgr]
"AttachWhenLoaded"=dword:00000000
"Type"=dword:00000002
"Start"=dword:00000000
"ErrorControl"=dword:00000001
"Tag"=dword:00000001
"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,6c,00,74,00,4d,00,67,00,72,\
00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="FltMgr"
"Group"="FSFilter Infrastructure"
"Description"="文件系统筛选器管理器驱动程序"
[HKEY_LOCAL_MACHINE\SYS\ControlSet001\Services\FltMgr\Enum]
"0"="Root\\LEGACY_FLTMGR\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
4:卸载前面加载的 sys
5:Boot.ini修改同上。
[ 本帖最后由 2011mking 于 2011-12-17 00:36 编辑 ] |
|