Help - Search - Members - Calendar
Full Version: Compressed Ramdisk
The CD Forum > Bart's PE Builder > Plugins
pavel
Hi all,

it is just a little think. so ... I use PEBuilder 3.1.3 and it's own ramdisk plugin.

Now I use this cmd like:
formatB.cmd
CODE
format %ramdrv% /fs:NTFS /C /Q /A:512 /X /V:Ramdisk


I use "ramsize" plugin, so i include this into autorun.cmd in ramsize plugin.

Pavel
fafot
Isn't that what Sherpya has in the AutoRamResizer:
QUOTE
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\100","200","||xpeinit.exe -f -m ""Formatting ramdisk using NTFS"" cmd.exe /c format %ramdrv% /FS:NTFS /V:RAMDisk /Q /C /x /FORCE"
dog
Yeah, but AutoRamResizer doesn't work with the builder 3.1.3 ramdisk, allegedly
Although I understood it used the same technique as the ramsize plugin
curiouser and curiouser
fafot
Firstly this command I put in z-Xpe-custom.inf (was originally in AutoRamResizer).

Secondly:
I just switched back to AutoRamResizer 1.3 and ramdrv 5.2.7.0 (nagged) and it works for me perfectly with XPE 1.02 and Bart 3.1.3.

I had problems on 512Mb PC's to resize it higher than 192Mb with AutoRamResizer 1.9 and ramdrv 5.2.10.2, but with 1.3 and 5.2.7.0 it's working.
pavel
@fafot

QUOTE
Isn't that what Sherpya has in the AutoRamResizer: ...


I don't know ... I do NOT use Autoramresizer. I wrote this for another people for saving space, not as MY INVENTION :-)

Pavel
dog
For use with cworks ramsize plugin, could be handy
Only thing I wanted to add to the ramsize plugin, was a timeout
So I nicked teletom's idea, and compiled an AutoIt script:

ramsize.aut (compiles to ramsize.exe)
CODE
HideAutoItWin, On
SetEnv, Timeout, %1%
; this defaults timeout to 10s if it is not already set
IfEqual,Timeout,,SetEnv,Timeout,10
sleep, %Timeout%000
WinWaitActive, Resize ramdrive
Send, Z
Send, #{ENTER}
Exit


then in ramsize.cmd put
CODE
start ramsize.exe

just before
CODE
set choice=


This assumes that ramsize.cmd has title=Resize ramdrive
and a Z option
philon
I use cworks ramsize plugin and adding the "format" line in the ramsize.cmd get a compressed NTFS ramdisk:
.
.
.

:end
%SystemRoot%\system32\devcon disable ramdriv
%SystemRoot%\system32\devcon enable ramdriv
format %ramdrv% /FS:NTFS /V:RAMDisk /Q /C /X /FORCE
GOTO Bye
:bye
exit

philon
ejmyers
QUOTE
HAS ANY1 BROKEN THE 2Gb RAMRESIZE LIMIT???
I'm tired of taking off the exess memory from servers.


biggrin.gif It seems so - see this link, and click: "Alpha" Version 5.3.0.* available NOW ! (RamDisk Enterprise)
http://www.ramdisk.tk/

Also, for anyone that is wondering, the newest full version (paid $6) works great for autosizing itself, formating NTFS, and using compression. (Don't we all wish CD-ROMs could support compression...!!!!!) All this without needing any scripts to run. It just happens. (And works fine for XPE.)

Here's the custom settings I am using in my Ramdisk.inf plug-in:

CODE
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","ExcludedNCACHPoolBanks",0x00000004


My Advice - Spend the money. $6 is certainly worth it. And...if anyone hasn't sent Bart a contribution by PalPal (see his website), then shame on you. mad.gif

-EJMyers
JonF
I spent the $6 for the QSoft RAMdisk ... it works fine except if I have auto-resize turned on it crashes when booting in Virtual PC (with XPE, in a 128 MB virtual machine). I seem to vaguely recall something about that posted here some time ago, but can't seem to find it now. Any thoughts?
RAMDisk2004
QUOTE
I spent the $6 for the QSoft RAMdisk ... it works fine except if I have auto-resize turned on it crashes when booting in Virtual PC (with XPE, in a 128 MB virtual machine).


Be sure to use the RAMDriv.sys from the BartPE package and not the RAMDisk.sys from the regular package.
JonF
QUOTE (RAMDisk2004 @ Mar 1 2005, 07:05 AM)
QUOTE
I spent the $6 for the QSoft RAMdisk ... it works fine except if I have auto-resize turned on it crashes when booting in Virtual PC (with XPE, in a 128 MB virtual machine).


Be sure to use the RAMDriv.sys from the BartPE package and not the RAMDisk.sys from the regular package.

Thanks for the reply, but I don't understand ... I have the RAMdisk plugin shipped with older versions of PEBuilder, the RAMdisk plugin shipped with the current version of PEBuilder, and the RAMDisk plugin supplied to registered customers of QSoft. None of them contain a ramdriv.sys file.

If I replace the paid-for ramdisk.sys with the one supplied with current versions of PEBuilder, the same freeze happens.
RAMDisk2004
QUOTE
If I replace the paid-for ramdisk.sys with the one supplied with current versions of PEBuilder, the same freeze happens.


Take a look at this : http://users.compaqnet.be/cn181612/RAMDisk/brewing.htm
JonF
QUOTE (RAMDisk2004 @ Mar 1 2005, 03:45 PM)
QUOTE
If I replace the paid-for ramdisk.sys with the one supplied with current versions of PEBuilder, the same freeze happens.


Take a look at this : http://users.compaqnet.be/cn181612/RAMDisk/brewing.htm

Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.