You should try out the latest winbuilder beta and check the projects inside, liveXP is still with some bugs, but I'm sure nativeEx should work flawless.
I haven't done the ramdisk script - it was Ove's work:
http://www.ove.boot-...et/ramdisk.htmlPerhaps the drive can be quick formated on startup:
http://www.911cd.net...?showtopic=6580Using:
FORMAT B: /FS:NTFS /Q /C /V:RAMDISK /y
There is also the work of d4vros:
; PE Builder v3 plug-in INF
; Created by d4vr0s
; http://www.ramdisk.tk/
; http://maxrealqnx.tripod.com
; Many thanks to the author for all of his help
; 2005-11-13
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="RamDrive 5.3.1.5"
Enable=1
[Strings]
RamDiskDriveLetter="B:"
[SourceDisksFiles]
files\ramdriv.sys=4,,1
files\ramdriv.dll=2,,4
[SetupReg.AddReg]
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}","Class","RAMDriv"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}",,"RAM Drive"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}","Installer32","RAMDriv.dll,ClassInstaller"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}","Icon","105"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}","EnumPropPages32","RAMDriv.dll,PropPageProvider"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}000","InfSection","DiskInstall"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}000","InfSectionExt",".NT"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}000","ProviderName","QSoft"
0x1,"ControlSet001\Control\Class\{FFB1C341-4539-11D3-B88D-00C04FAD5172}000","DriverDesc","RAMDrive [ QSoft ]"
;--------------------------------------------------------------------------------------
0x4, "ControlSet001\Services\Ramdriv","Type", 0x00000001
0x4, "ControlSet001\Services\Ramdriv","Start", 0x00000002
0x4, "ControlSet001\Services\Ramdriv","ErrorControl", 0x00000001
0x1, "ControlSet001\Services\Ramdriv","DisplayName","Ramdisk [ QSoft ]"
0x1, "ControlSet001\Services\Ramdriv","ImagePath","system32\drivers\ramdriv.sys"
0x1, "ControlSet001\Services\Ramdriv\Enum","0","Root\UNKNOWN\1000"
0x4, "ControlSet001\Services\Ramdriv\Enum","Count", 0x00000001
0x4, "ControlSet001\Services\Ramdriv\Enum","NextInstance", 0x00000001
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","ClassGUID","{FFB1C341-4539-11D3-B88D-00C04FAD5172}"
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","Class","RAMDriv"
0x4, "ControlSet001\Enum\Root\UNKNOWN\1000","ConfigFlags", 0x00000004
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","Mfg","QSoft"
0x7, "ControlSet001\Enum\Root\UNKNOWN\1000","HardwareID","ramdriv"
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","Service","RAMDriv"
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","DeviceDesc","Ramdisk [ QSoft ]"
0x4, "ControlSet001\Enum\Root\UNKNOWN\1000","Capabilities", 0x00000000
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000","Driver","{FFB1C341-4539-11D3-B88D-00C04FAD5172}001"
0x1, "ControlSet001\Enum\Root\UNKNOWN\1000\Control","ActiveService","RAMDriv"
;--------------------------------------------------------------------------------------
0x2, "ControlSet001\Control\Session Manager\Environment", "temp", "%RamDiskDriveLetter%"
0x2, "ControlSet001\Control\Session Manager\Environment", "tmp", "%RamDiskDriveLetter%\"
0x2, "ControlSet001\Control\Session Manager\Environment", "ramdrv", "%RamDiskDriveLetter%"
; Letter
0x1,"ControlSet001\Services\Ramdriv\Parameters","DriveLetter","%RamDiskDriveLetter%"
0x1,"ControlSet001\Services\Ramdriv\Parameters","VolumeName","RAMDisk"
0x4,"ControlSet001\Services\Ramdriv\Parameters","VolumeID",0x12345678
0x4,"ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry",0x0
0x4,"ControlSet001\Services\Ramdriv\Parameters","DebugLevel",0x5
0x4,"ControlSet001\Services\Ramdriv\Parameters","DebugComp",0xFFFFFFFF
0x4,"ControlSet001\Services\Ramdriv\Parameters","AutoResize",0x1
0x4,"ControlSet001\Services\Ramdriv\Parameters","DiskCompression",0x1
0x1,"ControlSet001\Services\Ramdriv\Parameters","Format","NTFS"
0x4,"ControlSet001\Services\Ramdriv\Parameters","DiskIndexingService",0x0
0x4,"ControlSet001\Services\Ramdriv\Parameters","AllowedPAGEDPoolBanks",0xFFFFFFFF
;--------------------------------------------------------------------------------------
; Configurable settings
; Kept for reference - 32mb disk size
0x3,"ControlSet001\Services\Ramdriv\Parameters","DiskSize",00,00,00,02,00,00,00,00
0x4,"ControlSet001\Services\Ramdriv\Parameters","AllowedNPAGEPoolBanks",0x1
0x4,"ControlSet001\Services\Ramdriv\Parameters","AllowedMDLPGPoolBanks",0xFFFFFFFE
; You may turn this to "zero" , but then the ramdisk may grab all memory of that type away from other drivers.
; 0x1 recommened
0x4,"ControlSet001\Services\Ramdriv\Parameters","ExcludedNPAGEPoolBanks",0x1
0x3,"ControlSet001\Services\Ramdriv\Parameters","MDLPGExcludedMap",\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13
;--------------------------------------------------------------------------------------
0x4,"ControlSet001\Services\Ramdriv\Parameters","AllowedNCACHPoolBanks",0xFFFFFFFF
0x4,"ControlSet001\Services\Ramdriv\Parameters","AllowedCONCAPoolBanks",0xFFFFFFFF
0x4,"ControlSet001\Services\Ramdriv\Parameters","ExcludedPAGEDPoolBanks",0xFFFFFFFF
0x4,"ControlSet001\Services\Ramdriv\Parameters","ExcludedCONCAPoolBanks",0xFFFFFFFF
;0x1,"ControlSet001\Services\Ramdriv\Parameters","ImageFile","\??\X:\I386\SYSTEM32\RAMDISKIMAGE.IMG"
;0x4,"ControlSet001\Services\Ramdriv\Parameters","LoadImage",0x1
;0x4,"ControlSet001\Services\Ramdriv\Parameters","SaveImage",0x0
;0x1,"ControlSet001\Services\Ramdriv\ImageFileProcessing","ProgramPath","RamDiskImage.exe"
; 0xFFFFFFFF = Disabled
; 0xFFFFFFFE = use all possible available
Wich can be used with:
http://members.fortu.../ramdiskpro.htmIf you read closely the plugin code you'll see that it is possible to define the ramdisk to use NTFS instead of Fat32 - script work muck alike plugins, the difference is that you load and unload hives as needed and specify the keys to write.
Perhaps the best way to learn is reading how Ove's ramdisk script was done - you'll see that it's easier than it looks..