MSFN Forum: Can Get The Ramdrive To Work! - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can Get The Ramdrive To Work! Already build WinPE integration Rate Topic: -----

#1 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 28 February 2005 - 10:49 AM

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


#2 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 28 February 2005 - 03:11 PM

Read the thread I posted in your last question on this. It states where to get the ramdrv.sys file from.

#3 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 28 February 2005 - 03:22 PM

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 CD


Removed for readability...;)

#4 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 01 March 2005 - 01:28 PM

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.

#5 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 01 March 2005 - 03:36 PM

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...

#6 User is offline   likuidkewl 

  • [Centos~]$
  • PipPipPipPipPip
  • Group: Members
  • Posts: 960
  • Joined: 16-September 03

Posted 01 March 2005 - 05:42 PM

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.

HTH

EDIT BTW can you please attach the list of files in a txt file or something, if not remove it completely, annoying to scroll through.

#7 User is offline   ChrisBaksa 

  • Member
  • PipPip
  • Group: Members
  • Posts: 230
  • Joined: 05-March 04

Posted 02 March 2005 - 08:19 PM

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 clarify

Chris

#8 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 29 September 2005 - 04:03 PM

Take the RAMDRIV.SYS From BARTPE and copy it in [WinPE CD]:\i386\system32\drivers

Then add this in the file "WINPEDEF.INF" in section "AddReg"

; Ramdrive
HKCU,"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 Ramdrive

And then add this in the file "WINPESYS.INF" in section "AddReg"

; Ramdrive
HKLM,"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,0x00000001
HKLM,"System\ControlSet001\Services\Ramdriv","Start",0x00010001,0x00000003
HKLM,"System\ControlSet001\Services\Ramdriv","ErrorControl",0x00010001,0x00000001
HKLM,"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,0x00000000
HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugLevel",0x00010001,0x00000005
HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","DebugComp",0x00010001,0xffffffff
HKLM,"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,0x00000200
HKLM,"System\ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster",0x00010001,0x00000002
HKLM,"System\ControlSet001\Services\Ramdriv\Enum","0",0x00000000,"Root\UNKNOWN\9999"
HKLM,"System\ControlSet001\Services\Ramdriv\Enum","Count",0x00010001,0x00000001
HKLM,"System\ControlSet001\Services\Ramdriv\Enum","NextInstance",0x00010001,0x00000001
HKLM,"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,0x00000004
HKLM,"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,0x00000000
HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999","Driver",0x00000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001"
HKLM,"System\ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount",0x00010001,0x00000000
HKLM,"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 Ramdrive

Have a nice Ramdrive!

ShrimpyOne

#9 User is offline   mats 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 10-May 05

Posted 30 September 2005 - 03:12 AM

Did you even try the search button?

http://www.msfn.org/...showtopic=46845 is a rather intresting thread regarding ramdrives :D

#10 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 30 September 2005 - 05:28 PM

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\Drivers

Then Run this command...

REG LOAD HKLM\WinPE [WinPE CD]\i386\System32\setupreg.hiv

Then 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 end


Then Run this command...

REG UNLOAD HKLM\WinPE


Burn it and it works!

This is the easiest method to add a 32Mb RamDrivre to an existing WinPE CD...


ShrimpyOne

#11 User is offline   Daemonforce 

  • Spider? Where?
  • PipPipPip
  • Group: Members
  • Posts: 355
  • Joined: 16-September 05

Posted 01 October 2005 - 06:33 AM

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. ;)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy