sanbarrow.com Forum Index
Author Message
<  boot Windows into RAM  ~  Rambooting a chosen ramdisk driver with hardware profiles
joakim
PostPosted: Mon Jan 18, 2010 11:10 pm  Reply with quote
mad scientist


Joined: 12 Dec 2008
Posts: 219
Location: Bergen, Norway

For testing ramboot of the 4 different ramdisk drivers we can include all of them in the build and choose at boot time what driver to boot with. The menu for hardware profiles will be presented right after boot.ini, the first loaded part in the SYSTEM hive and before any drivers are loaded.

The 4 drivers are;
Code:

DisklessAngel = wdsys.sys
FiraDisk          = firadisk.sys
Ramdisk          = ramdisk.sys
WinVBlock      = wvblk32.sys


The boot.ini looking like this;
Code:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
ramdisk(0)\WINDOWS="Ramboot with: ramdisk.sys" /SOS /fastdetect /rdpath=multi(0)disk(0)rdisk(0)partition(1)\509.dsk /rdimageoffset=36352
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Ramboot with: DisklessAngel, FiraDisk or WinVBlock" /WINVBLOCK=BUS=1 /fastdetect /SOS


Don't worry about the "/WINVBLOCK=BUS=1" in boot.ini. It will not affect your ramboot if choosing any of the 3 other drivers than winvblock, but it is necessary for winvblock to boot.

Include this registry patch in your build;
Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0001]
"InfPath"="firadisk.inf"
"InfSection"="FiraDiskDevice"
"InfSectionExt"=".NTx86"
"ProviderName"="Karyonix"
"DriverDateData"=hex:00,80,a5,0a,75,7f,ca,01
"DriverDate"="12-18-2009"
"DriverVersion"="0.0.1.18"
"MatchingDeviceId"="root\\firadisk"
"DriverDesc"="FiraDisk Virtual Disk Enumerator"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0002]
"InfPath"="winvblk.inf"
"InfSection"="WinVBlock"
"ProviderName"="WinVBlock"
"DriverDateData"=hex:00,40,e9,4e,66,0e,c6,01
"DriverDate"="1-1-2006"
"DriverVersion"="1.0.0.0"
"MatchingDeviceId"="winvblock"
"DriverDesc"="WinVBlock Driver"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}]
"Class"="Ramdisk"
@="Ramdisk"
"Icon"="-5"

[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,40,2a,7c,dd,68,c2,01
"DriverDate"="10-1-2002"
"DriverVersion"="5.2.3790.3959"
"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,40,2a,7c,dd,68,c2,01
"DriverDate"="10-1-2002"
"DriverVersion"="5.2.3790.3959"
"MatchingDeviceId"="ramdisk\\ramvolume"
"DriverDesc"="Windows RAM Disk Device (volume)"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\CriticalDeviceDatabase\root#firadisk]
"Service"="firadisk"
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\CriticalDeviceDatabase\winvblock]
"Service"="WinVBlock"
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\FiraDisk]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB]
"CurrentConfig"=dword:00000002
"UserWaitInterval"=dword:0000001e
"IsPortable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias\0001]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"ProfileNumber"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias\0002]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"ProfileNumber"=dword:00000002

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias\0003]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"ProfileNumber"=dword:00000003

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias\0004]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"ProfileNumber"=dword:00000004

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Alias\0005]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"ProfileNumber"=dword:00000005

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\CurrentDockInfo]
"DockingState"=dword:00000000
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles]
"Unknown"=dword:00000005

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0000]
"FriendlyName"="New Hardware Profile"
"PreferenceOrder"=dword:ffffffff
"Pristine"=dword:00000001
"Aliasable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0001]
"PreferenceOrder"=dword:00000000
"FriendlyName"="All drivers loaded"
"Aliasable"=dword:00000000
"Cloned"=dword:00000001
"HwProfileGuid"="{1944359a-fe2d-11dc-8b6f-806d6172696f}"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0002]
"HwProfileGuid"="{da1ab422-f92f-4f51-b2f8-cbb19b33d53a}"
"PreferenceOrder"=dword:00000001
"FriendlyName"="FiraDisk"
"DockState"=dword:00000007
"Aliasable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0003]
"HwProfileGuid"="{bffc6ab4-eb8b-4199-8815-3e51ae444942}"
"PreferenceOrder"=dword:00000002
"FriendlyName"="WinVBlock"
"DockState"=dword:00000007
"Aliasable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0004]
"HwProfileGuid"="{924066ec-0677-4ad7-bb24-bc410d8fa602}"
"PreferenceOrder"=dword:00000003
"FriendlyName"="DisklessAngel"
"DockState"=dword:00000007
"Aliasable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Control\IDConfigDB\Hardware Profiles\0005]
"HwProfileGuid"="{c39913a9-2691-47f1-8a63-ce9b23061bb5}"
"PreferenceOrder"=dword:00000004
"FriendlyName"="ramdisk.sys"
"DockState"=dword:00000007
"Aliasable"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\SCSIADAPTER]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\SCSIADAPTER\0000]
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"
"Class"="SCSIAdapter"
"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
"Driver"="{4D36E97B-E325-11CE-BFC1-08002BE10318}\\0001"
"Mfg"="Karyonix"
"Service"="firadisk"
"DeviceDesc"="FiraDisk Virtual Disk Enumerator"
"ConfigFlags"=dword:00000000
"Capabilities"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\SCSIADAPTER\0000\LogConf]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\SCSIADAPTER\0001]
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"
"Class"="SCSIAdapter"
"ConfigFlags"=dword:00000004
"Driver"="{4D36E97B-E325-11CE-BFC1-08002BE10318}\\0002"
"Mfg"="WinVBlock"
"HardwareID"=hex(7):77,00,69,00,6e,00,76,00,62,00,6c,00,6f,00,63,00,6b,00,00,\
  00,00,00
"Service"="WinVBlock"
"DeviceDesc"="WinVBlock Driver"
"Capabilities"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\SCSIADAPTER\0001\LogConf]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\UNKNOWN]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\UNKNOWN\0000]
"ClassGUID"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}"
"ConfigFlags"=dword:00000004
"Driver"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\\0000"
"Class"="Ramdisk"
"Mfg"="Microsoft"
"HardwareID"=hex(7):72,00,61,00,6d,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,69,00,\
  6e,00,74,00,65,00,72,00,6e,00,61,00,6c,00,5c,00,72,00,61,00,6d,00,64,00,69,\
  00,73,00,6b,00,00,00,64,00,65,00,74,00,65,00,63,00,74,00,65,00,64,00,5c,00,\
  72,00,61,00,6d,00,64,00,69,00,73,00,6b,00,00,00,00,00
"Service"="Ramdisk"
"DeviceDesc"="Windows RAM Disk Controller"
"Capabilities"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\UNKNOWN\0000\LogConf]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\UNKNOWN\0001]
"ClassGUID"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}"
"Class"="Ramdisk"
"ConfigFlags"=dword:00000004
"Driver"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\\0001"
"Mfg"="Microsoft"
"HardwareID"=hex(7):72,00,61,00,6d,00,64,00,69,00,73,00,6b,00,5c,00,72,00,61,\
  00,6d,00,76,00,6f,00,6c,00,75,00,6d,00,65,00,00,00,00,00
"DeviceDesc"="Windows RAM Disk Device (volume)"
"Capabilities"=dword:00000000

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\UNKNOWN\0001\LogConf]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\wdsys]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Enum\Root\wdsys\0000]



[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0000]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0000\Software]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0000\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0001]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0001\Software]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0001\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\UNKNOWN]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\wdsys]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\wdsys\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\wdsys\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\WinVBlock]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\WinVBlock\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0002\System\CurrentControlSet\Enum\ROOT\WinVBlock\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\UNKNOWN]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\wdsys]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\wdsys\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0003\System\CurrentControlSet\Enum\ROOT\wdsys\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\UNKNOWN]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\UNKNOWN\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\WinVBlock]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\WinVBlock\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0004\System\CurrentControlSet\Enum\ROOT\WinVBlock\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\SCSIADAPTER\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\wdsys]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\wdsys\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\wdsys\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\WinVBlock]

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\WinVBlock\0000]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Hardware Profiles\0005\System\CurrentControlSet\Enum\ROOT\WinVBlock\0001]
"CSConfigFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\firadisk]
"Type"=dword:00000001
"Start"=dword:00000000
"ErrorControl"=dword:00000001
"ImagePath"="system32\\DRIVERS\\firadisk.sys"
"DisplayName"="FiraDisk Virtual Disk Driver"
"Group"="SCSI miniport"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\firadisk\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk]
"Type"=dword:00000001
"Start"=dword:00000000
"ErrorControl"=dword:00000001
"ImagePath"="SYSTEM32\\DRIVERS\\ramdisk.sys"
"DisplayName"="Windows RAM Disk Driver"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk\Debug]
"DebugComponents"=dword:7fffffff
"DebugLevel"=dword:00000005

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\Ramdisk\Enum]
"0"="Root\\UNKNOWN\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\wdsys]
"ErrorControl"=dword:00000001
"Group"="SCSI Miniport"
"ImagePath"="system32\\DRIVERS\\wdsys.sys"
"Start"=dword:00000000
"Type"=dword:00000001

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\wdsys\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="ROOT\\wdsys\\0000"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\WinVBlock]
"Type"=dword:00000001
"Start"=dword:00000000
"ErrorControl"=dword:00000001
"ImagePath"="system32\\DRIVERS\\wvblk32.sys"
"Group"="SCSI miniport"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\WinVBlock\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00


My sample image booted with the disklessangel driver looks like this;



Now I can choose to activate any of the 4 drivers and then deactivate the 3 others, any way I want. All in the same image. Obviously ntldr will load the image with the first entry in boot.ini when booting ramdisk.sys. For the 3 others use grldr (Grub4Dos) to do a "map --mem" on the image and boot with the last entry in boot.ini. Since firadisk don't support memdisk, we are bound to use grub4dos. As you may see from the registry patch, there is a fifth (empty) hardware profile that will load all the drivers at the same boot. Which one wins the race, is determined by a tag number, else by alphabetical order.

Joakim Schicht
Back to top
View user's profile Send private message
Display posts from previous:   
All times are GMT

View next topic
View previous topic
Page 1 of 1
sanbarrow.com Forum Index  ~  boot Windows into RAM

Post new topic   Reply to topic


 
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB and Conundrum v1.04