Jump to content











Photo
* * * - - 1 votes

Gavotte's RRamdisk


  • Please log in to reply
77 replies to this topic

#76 bilou_gateux

bilou_gateux

    Frequent Member

  • Expert
  • 230 posts
  •  
    France

Posted 19 August 2011 - 12:44 PM

How to use full 4GB RAM in Windows XP 32 Bit (Gavotte RAMDisk in Windows XP)

box config: Physical RAM: 4Gb, Graphics card: 128 Mb
In the 32-bit version of Windows XP from 4 GB usually only 3.25 -3.5 GB of RAM are usable

boot.ini

 

 

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\Windows="Microsoft Windows XP Professional Service Pack 3" /fastdetect /noexecute=alwaysoff /KERNEL=ntkrpamp.exe /hal=Halmacpi.dll /PAE


to install driver from command line:
I have first edited rramdisk.inf and added line below at end of [DiskAddReg] section

HKR, "Parameters", "UsePAE",        	%REG_DWORD%, 0x00000001

devcon.exe
1. Download it on Microsoft Website : Link
2. Unpack the file, once downloaded
3. Copy \i386\devcon.exe to c:\windows\system32

run this command:
devcon install .\RRamDisk\RRamDisk.inf RamDisk

Ramdisk is created and default drive letter R: assigned to it BUT not shown in explorer.

dosdev.exe
1. Part of Microsoft's DDK/SDK : http://blogs.msdn.co.../04/477164.aspx
2. Unpack the file, once downloaded
3. Copy dosdev.exe to c:\windows\system32

Optional: setenv.exe
1. Download it on author Website : http://barnyard.syr.edu/~vefatica/
2. Unpack the file, once downloaded
3. Copy setenv.exe to c:\windows\system32

@Echo off&SETLOCAL ENABLEEXTENSIONS

for /f "tokens=1-3* delims==\" %%a in ('dosdev^|find "HarddiskVolumeRD"') do (set DL=%%~a)

SET DL=%DL:~0,-1%

echo [%DL%]

dosdev.exe -d %DL%

ping -n 4 -w 1 127.0.0.1>NUL

dosdev.exe -r %DL% \Device\HarddiskVolumeRD

:__optional

setenv -v RamDisk %DL%

:__end

endlocal

goto :eof

New volume R: with label RamDisk-PAE is ready to use. The driver auto assigned size of newly created RamDisk with "not used" memory = 447 Mb in test box used.

I use the RAMDisk for setting my browser cache to this area but you can also use it for setting the TEMP folder or other stuff there.



Reference:
http://www.jensschef...sk-in-windows-7
http://www.unawave.d...er.html?lang=EN

#77 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 19 August 2011 - 01:41 PM

How to use full 4GB RAM in Windows XP 32 Bit (Gavotte RAMDisk in Windows XP)

Nice :clap: :thumbup:
If I may, a few questions:
Is there a reason (and if yes which one) to *need* devcon?
Or would SC do? :dubbio:

If not, would this (redistributable) do instead?
drv_inst:
http://www.911cd.net...pic=24100&st=33
or the paraglider's nice thingy devcontrol :
http://www.911cd.net...pic=24100&st=47

As well, would dosdev by Olof work?
http://www.ltr-data.se/opencode.html/

:cheers:
Wonko

#78 jslegers

jslegers

    Newbie

  • Members
  • 15 posts

Posted 28 November 2011 - 01:56 PM

Has anyone got Media Type RAM Drive working on a Windows 7 32Bit version. It works on XP but not on Windows 7. I need to select fixed drive or removable drive.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users