ShrimpBoy Posted February 28, 2005 Posted February 28, 2005 Hi!I have an already working WinPE CD that work as well as we need, well... not as well as I want...I want to add a RAMDRIVE to that working CD!When I check the tutorials, they talk about files that doesn't exist on my CD.So what should I do now?What is the boot order of a WinPE CD?How can I integrate the RAMDRIVE?Thanks!ShrimpyOne
likuidkewl Posted February 28, 2005 Posted February 28, 2005 Read the thread I posted in your last question on this. It states where to get the ramdrv.sys file from.
ShrimpBoy Posted February 28, 2005 Author Posted February 28, 2005 Hi!I got all the file exept those I'm suppose to modify on the CD...I don't have any DOSNET.inf or winpesys.inf or config.sys!!!Is there a way to add it from a command line so I'll just add the files and a new .cmd to start the ramdrive?I really need this to work...To help you, here is the complete listing of files in my CDRemoved for readability...
likuidkewl Posted March 1, 2005 Posted March 1, 2005 You don't need them to add the Ramdrive to PE the way that is posted.The files you mention are on the WinPE OPK CD or in your build directory, if you lost your CD call MS and get new one or buy a new 3-pack.
ShrimpBoy Posted March 1, 2005 Author Posted March 1, 2005 Hi!I have the Windows XP Pro SP2, Windows OPK, PEBuilder, Working WinPE CD, everything...But What I really want to do is: Take an already working CD, copy the content to a folder, modify the content to support the RAMDRIVE and burn it.I don't want to create a new CD, cause there are many drivers integrated to the CD already and I don't want to redo the whole long process.I've sent a list of the files on the CD (working WinPE) in previous post...Is it possible to add the RAMDRIVE this way?Why am I unable to add registry to [HKEY_LOCAL_MACHINE\SYSTEM\CONTROLSET001\ENUM]????Where can I get those info?Thanks!ShrimpyOne in a kind of tired mood...
likuidkewl Posted March 1, 2005 Posted March 1, 2005 If your PECD was built on a SP2 computer and then you either are trying to edit it on another SP2 PC or a re-imaged/Formatted one then it will not work, I don't know why but it won't, MS has no idea either(supposedly). Anyhow you can still use a XP SP1 and earlier to edit the registry, you can see what I mean when you load the hives and some of the larger key sets error out. So your options are #1 Rebuild - Always a good option#2 Use a Pre SP2 PC I have only tried XP and 2000.HTHEDIT BTW can you please attach the list of files in a txt file or something, if not remove it completely, annoying to scroll through.
ChrisBaksa Posted March 3, 2005 Posted March 3, 2005 Shrimpboy...Are you using the Windows PE OPK or Barts PE?I've seen several posts by you and it seems you are mixing bits and peices of both.Can you clarifyChris
ShrimpBoy Posted September 29, 2005 Author Posted September 29, 2005 Take the RAMDRIV.SYS From BARTPE and copy it in [WinPE CD]:\i386\system32\driversThen add this in the file "WINPEDEF.INF" in section "AddReg"; RamdriveHKCU,"Environment","TEMP",0x00000000,"Q:"HKCU,"Environment","TMP",0x00000000,"Q:"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cache",0x00020000,"Q:\Local Settings\Temporary Internet Files"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cookies",0x00020000,"Q:\Local Settings\Cookies"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","History",0x00020000,"Q:\Local Settings\History"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Recent",0x00020000,"Q:\Local Settings\Recent"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Cache",0x00000000,"Q:\Local Settings\Temporary Internet Files"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Cookies",0x00000000,"Q:\Local Settings\Cookies"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","History",0x00000000,"Q:\Local Settings\History"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Recent",0x00000000,"Q:\Local Settings\Recent"; End RamdriveAnd then add this in the file "WINPESYS.INF" in section "AddReg"; RamdriveHKLM,"SYSTEM\ControlSet001\Control\Session Manager\Environment","Temp",0x00000000,"Q:"HKLM,"SYSTEM\ControlSet001\Control\Session Manager\Environment","Tmp",0x00000000,"Q:"HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","Class",0x00000000,"RamDisk"HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","",0x00000000,"RAM Disk"HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","ProviderName",0x00000000,"QSoft"HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","MatchingDeviceId",0x00000000,"ramdriv"HKLM,"System\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","DriverDesc",0x00000000,"Ramdisk [ QSoft ]"HKLM,"System\ControlSet001\Services\Ramdriv","Type",0x00010001,0x00000001HKLM,"System\ControlSet001\Services\Ramdriv","Start",0x00010001,0x00000003HKLM,"System\ControlSet001\Services\Ramdriv","ErrorControl",0x00010001,0x00000001HKLM,"System\ControlSet001\Services\Ramdriv","DisplayName",0x00000000,"Ramdisk [ QSoft ]"HKLM,"System\ControlSet001\Services\Ramdriv","ImagePath",0x00000000,"system32\drivers\ramdriv.sys"HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry",0x00010001,0x00000000HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugLevel",0x00010001,0x00000005HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugComp",0x00010001,0xffffffffHKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DiskSize",0x00010001,"0x02000000"HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DriveLetter",0x00000000,"Q:"HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","RootDirEntries",0x00010001,0x00000200HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster",0x00010001,0x00000002HKLM,"System\ControlSet001\Services\Ramdriv\Enum","0",0x00000000,"Root\UNKNOWN\9999"HKLM,"System\ControlSet001\Services\Ramdriv\Enum","Count",0x00010001,0x00000001HKLM,"System\ControlSet001\Services\Ramdriv\Enum","NextInstance",0x00010001,0x00000001HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","ClassGUID",0x00000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Class",0x00000000,"RamDisk"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","ConfigFlags",0x00010001,0x00000004HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Mfg",0x00000000,"QSoft"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","HardwareID",0x00010000,"ramdriv"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Service",0x00000000,"Ramdriv"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","DeviceDesc",0x00000000,"Ramdisk [ QSoft ]"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Capabilities",0x00010001,0x00000000HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Driver",0x00000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount",0x00010001,0x00000000HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","ActiveService",0x00000000,"Ramdriv"HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","FilteredConfigVector& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00; End RamdriveHave a nice Ramdrive!ShrimpyOne
mats Posted September 30, 2005 Posted September 30, 2005 Did you even try the search button?http://www.msfn.org/board/index.php?showtopic=46845 is a rather intresting thread regarding ramdrives
ShrimpBoy Posted September 30, 2005 Author Posted September 30, 2005 Hi!Here is how to add a 32Mb Ramdrive to an existing WinPE CD..First... copy all the CD files on a writeable media... do I need to say this!?!?!? Then copy the file RamDriv.sys from BartPEBuiler Ramdrive plugin to [WinPE CD]:\i386\System32\DriversThen Run this command...REG LOAD HKLM\WinPE [WinPE CD]\i386\System32\setupreg.hivThen add this registry file...RamDrive.reg begin:____________________________________________Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Session Manager\Environment]"Temp"="Q:""Tmp"="Q:"[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}]"Class"="RamDisk"@="RAM Disk"[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001]"ProviderName"="QSoft""MatchingDeviceId"="ramdriv""DriverDesc"="Ramdisk [ QSoft ]"[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Enum\Root\UNKNOWN\9999]"ClassGUID"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}""Class"="RamDisk""ConfigFlags"=dword:00000004"Mfg"="QSoft""HardwareID"=hex(7):72,00,61,00,6d,00,64,00,72,00,69,00,76,00,00,00,00,00"Service"="Ramdriv""DeviceDesc"="Ramdisk [ QSoft ]""Capabilities"=dword:00000000"Driver"="{FFA1C341-4539-11D3-B88D-00C04FAD5172}\\0001"[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Enum\Root\UNKNOWN\9999\Control]"DisableCount"=dword:00000000"ActiveService"="Ramdriv""FilteredConfigVector& quot;,0x00010000,00,00,00,00,00,00,00,00,00,00,00,00"=""[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv]"Type"=dword:00000001"Start"=dword:00000003"ErrorControl"=dword:00000001"DisplayName"="Ramdisk [ QSoft ]""ImagePath"="system32\\drivers\\ramdriv.sys"[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv\Enum]"0"="Root\\UNKNOWN\\9999""Count"=dword:00000001"NextInstance"=dword:00000001[HKEY_LOCAL_MACHINE\WinPE\ControlSet001\Services\Ramdriv\Parameters]"BreakOnEntry"=dword:00000000"DebugLevel"=dword:00000005"DebugComp"=dword:ffffffff"DiskSize"=dword:02000000"DriveLetter"="Q:""RootDirEntries"=dword:00000200"SectorsPerCluster"=dword:00000002____________________________________________RamDrive.reg endThen Run this command...REG UNLOAD HKLM\WinPEBurn it and it works!This is the easiest method to add a 32Mb RamDrivre to an existing WinPE CD...ShrimpyOne
Daemonforce Posted October 1, 2005 Posted October 1, 2005 Is there any way to turn the whole CD into one big ramdisk? A virtual disk is one thing....Having it act like a Knoppix environment is another.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now