I've been using the Gavotte ram disk on Windows XP and was very happy with that. Now I'm migrating to Windows 7 64-bits and need a new ram disk solution. ImDisk seems the perfect candidate (especially now that it's signed!), but I just can't get it working (or find documentation that helps me in doing that).
This is what I'm trying to achieve: a 512MB RAM disk mounted as Z: which is empty, except for the directory "temp" (I got all of this almost by default from Gavotte). I use this ramdisk to story temporary Firefox and Internet Explorer files.
This is how I tried to do it:
- created a 512MB file, mounted it, created the "temp" directory and unmounted it
- created a txt version of it with apiregutil from this forum
- created a new sparse(!) imagefile c:\ramdisk.img from this txt version using the same apiregutil
- made sure the ImDisk service autostarts
- added this to the registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ImDisk\Parameters] "Flags0"=dword:00000200 "FileName0"="\\DosDevices\\c:\\ramdisk.img" "DriveLetter0"="Z" "LoadDevices"=dword:00000001Unfortunately nothing seems to happen at boot, there is no Z: drive, and I don't see any error/log.
(the image file does load from the command line when I try to mount it manually after booting)
How can I debug this? What do I do wrong? How to solve it?