Printable Version of Topic

Click here to view this topic in its original format

Boot Land _ Windows 2K/XP/2003 and Vista _ RAMdisk and FILEdisk drivers

Posted by: Nuno Brito Feb 22 2007, 03:20 PM

QUOTE
The Ramdisk driver we use for this guide is almost identical and based on the Microsoft sample driver described here: http://support.microsoft.com/default.aspx?scid=kb;en-us;257405. The version we use in this article fixes a bug with Windows XP and NTFS partitions (described in the MS KB article) and adds the ability to change drive letter and disk size in a more user-friendly way, using the Device Manager.

We can install/configure the Ramdisk in three simple steps:

1. Download and uncompress the Ramdisk driver in an empty directory you can remember: Ramdisk Driver
2. 2. In Control Panel -> Add/Remove Hardware , select Add a new device -> select hardware from a list -> Other(All) devices -> Have Disk , then point to the folder that contains the RAMDisk.inf file you extracted in step 1. Click next/finish to complete the driver installation.
3. You can change the size / drive letter of your new Ramdisk from the Device manager: Right-click on My Computer , select Properties -> Hardware -> Device Manager -> expand the RAM Disk -> Properties

At this point you have successfuly installed and configured a RAM Disk drive on your system. Keep in mind that the contents of the RAM disk are lost when changing its size and/or drive letter in Device Manager! They are also lost if power is lost, computer rebooted, etc. You might want to reboot and copy some files to your new RAM disk from within Windows Explorer to ensure it's operating properly.

Notes: In Windows XP, you might have to go to Control Panel -> System to access the device manager. Depending on your OS, you might be prompted to reboot after the drive is installed. Keep in mind that the size of your Ramdisk is substracted from the available RAM, so don't use any wild values. Depending on the intended use, 1 - 16 MB should be the enough, even in systems with plenty of RAM


quoted from:
http://www.ramdiskzone.com/rd/articles.php

This is likely one of the first editions from qsoft based on the microsoft one, anyone willing to upload the more recent versions with source code?

This version allows to use some predefined values up to around 60Mb.

 ramdisk_inst.zip ( 650.49K ) : 101



smile.gif

Posted by: jaclaz Feb 22 2007, 08:02 PM

Here is a list of resources related to RAMdisk and FILEDISK based drivers, that I am collecting/putting together for the use of people interested in helping here:
http://www.boot-land.net/forums/index.php?showtopic=1441&hl=

Microsoft original Win2k RAMdisk driver:
http://support.microsoft.com/kb/257405/en-us

Another article (version of ramdisk.sys unchecked):
http://www.picobay.com/projects/2006/06/how-to-make-windows-xp-ram-disk-drive.html

A related article:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=3515

A new version (untested)
http://www.microsoft.com/downloads/details.aspx?familyid=D44E34EC-B4E2-49A1-9F40-9ED4BA3765DF&displaylang=en
WSSRA_Deployment_Toolkit.msi

An old NT 4.0 one (through archive.org):
http:///web/*/http://www.ntfaq.com/ntfaq/download/ramdisk.zip
same can be found here:
http://www.jsifaq.com:80/SF/Tips/Tip.aspx?id=0020


Latest FREEWARE version of Christian Ghisler:
http://users.compaqnet.be/cn021945/RAMDisk/ramdiskfree.htm

http://www.talkaboutsoftware.com/group/microsoft.public.windowsxp.embedded/messages/46808.html

http://www.speedguide.net/read_articles.php?id=131
http://www.codeguru.com/cpp/w-p/system/devicedriverdevelopment/article.php/c5789/

http://www.arsoft-online.com/index.php?option=com_content&task=view&id=12&Itemid=2
http://www.arsoft-online.com/index.php?option=com_remository&Itemid=36&func=select&id=2



http://p-nand-q.com/download/diskfile.html
http://p-nand-q.com/download/tools/diskfile.zip

A post claiming that DOS RAMdrive.sys can work under XP:
http://www.hardwareanalysis.com/content/topic/7663/
if the above is tested and confirmed, would it be possible to use either
Franck Uberto's one:
XMSDISK fu_rd19i.zip
http://www.simtel.net/pub/pd/4825.html
or SRDISK:
http://sourceforge.net/projects/srdisk
(I doubt it, but you never know)


Some japanese related apps:
http://www.vector.co.jp/soft/winnt/hardware/se039495.html
http://www.vector.co.jp/soft/winnt/hardware/se168213.html
http://www.vector.co.jp/soft/winnt/hardware/se108927.html
http://www.vector.co.jp/soft/winnt/hardware/se168218.html

A thread on 911CD Forum with same links, some more and some interesting ideas:
http://www.911cd.net/forums//index.php?showtopic=17624&st=0

COMMERCIAL RAMDISKS (with trial versions):
http://www.winsoft.sk/ramdisk.htm
http://www.cenatek.com/product_ramdisk.cfm
http://www.superspeed.com/ramdisk.php
http://www.superspeed.com/desktop/ramdisk.php

A complete solution for booting 9x/2K/XP in RAM
http://www.disklessangel.com/


FILEDISK based drivers and info:

http://www.acc.umu.se/~bosse/
http://www.acc.umu.se/~bosse/filedisk-14.zip
http://www.acc.umu.se/~bosse/filedisk.zip

http://www.winimage.com/misc/filedisk64.htm
http://www.winimage.com/misc/filedisk_modbin64_tray.zip
http://www.winimage.com/misc/filedisk64.zip

http://chitchat.at.infoseek.co.jp/vmware/vdk.html
http://chitchat.at.infoseek.co.jp/vmware/vdk32-050406.zip
http://chitchat.at.infoseek.co.jp/vmware/vdksrc-050406.zip

http://chitchat.at.infoseek.co.jp/vmware/vdk.zip
http://chitchat.at.infoseek.co.jp/vmware/vdksrc.zip

Sherpya's filedisk plugin:
http://sourceforge.net/project/showfiles.php?group_id=126922&package_id=140761

Filedisk thread on msfn.org by bilou_gateux:
http://www.msfn.org/board/index.php?showtopic=38118

A filedisk.exe version able to use encryption:
CrossCrypt
http://www.scherrer.cc/crypt/

A COMMERCIAL app similar to the above:
http://www.windiskxp.com/en/
http://www.windiskxp.com/en/downloads/

NON-FILEdisk based Virtual Drive drivers:
OsrVirtualCdAndDisk
http://www.osronline.com/article.cfm?article=410
(subscription needed for download)

********


A NEW (at least for me) Virtual Disk Driver with INTERESTING features, complete with source code:
http://www.ltr-data.se/opencode.html

QUOTE
ImDisk Virtual Disk Driver - Latest version 1.0.2 built 27 april 2007.

ImDisk is a virtual disk driver for Windows NT/2000/XP/2003. It can use one or more disk image files to create virtual hard disk, floppy or CD/DVD drives .The install package installs a console-mode control program called imdisk.exe and a Control Panel applet. After install is finished, type imdisk without parameters for syntax help or double click the ImDisk icon in the Control Panel. It also adds a menu item in Windows Explorer so that you can right-click on a file to mount it as a virtual disk drive. Users of mdconfig in FreeBSD will probably be familiar with the command line syntax of imdisk.exe. The driver, service and control program can be uninstalled using the Add/Remove programs applet in the Control Panel. No reboot is required for installing or uninstalling.

The install package also contains a user-mode helper service that enables the virtual disk driver to forward I/O requests to other computers on the network. This makes it possible to boot a machine with NTFS partitions with a *nix Live-CD and use the included devio tool to let ImDisk on another computer running Windows on the network mount the NTFS partition on the machine you booted with the *nix Live-CD. This way you can recover information and even run chkdsk on drives on machines where Windows does not boot. I am working on a Live CD image with devio and other useful things for this pre-loaded. Will publish that one for download soon.




A (very old) resource for writing Filesystem Drivers for NT, FIFS - FRONT RPC:
http://web.mit.edu/fifs/www/

Something not really like the above, but maybe a good start point:
http://icculus.org/physfs/

VHDMOUNT:
http://myitforum.com/cs2/blogs/socal/archive/2006/09/03/How-To-Mount-a-Virtual-Hard-Drive-Locally.aspx

I have finally understood WHY filedisk/vdk do not work/are not seen in Disk Manager, it seems like they are not a "real" NT miniport driver, I found some commercial/demos that do behave as a full miniport driver:
http://www.cooldev.com/koolstorage.html
http://www.perisoft.net/miniport/index.htm
(the above two are limited in size but work very well)
http://www.eldos.com/cbdisk/


In my wanderings on the net, I also stumbled upon the iSCSI concept:
http://www.microsoft.com/downloads/details.aspx?FamilyID=12cb3c1a-15d6-4585-b385-befd1319f825&DisplayLang=en
http://www.rocketdivision.com/wind.html
http://www.rocketdivision.com/port.html
http://www.nimbusdata.com/products/mysan/mysan.htm
http://www.iscsicake.com/

http://www.kernsafe.com/download.aspx
http://www.kernsafe.com/Product.aspx?id=1
the latter, while the actual iSCSI part is trial/expiring, provides for a Virtual Disk driver that appears to work VERY well smile.gif


This appears to be a very nice solution for virtual disks (encrypted), the working is similar to filedisk, but the development is very active:
http://www.freeotfe.org/

********


ireneuszp has posted on the 911CD forum, here:
http://www.911cd.net/forums//index.php?showtopic=20280&hl=
a link to here:

where a Ramdisk driver called "RRamdisk" is discussed.
http://www.mydigitallife.info/2007/05/27/free-ramdisk-for-windows-vista-xp-2000-and-2003-server/

Something seems simply not right about the driver, it appears to be the work of "Gavotte" and of "lyh728".

The accompanying article states that it works with Vista, besides 2K and XP (which of course is a good thing) but also contains some "strange" ideas:
QUOTE
Potential usage include adding of “ramdisk imgfilename” to system boot up script such as autoexec.bat to load the data into memory disk.

(bolding is mine)

From a little search around, this Ramdisk appears to be rather popular on Chinese sites, and I found a version (with same driver/executable release) with a readme in Chinese, so I suspect that the Authors are also from China.

Driver appears to have not a home page, and the date of the files are end of 2003/start of 2004, latest registered change in the readme.txt is 9 December 2003, also, the English readme.txt appears a bit "Chinglish", (no offence intended to our Chinese friends smile.gif), and I find a bit odd that in almost 4 years this app wasn't massively used in the west, until IMDISK came out, FREEWARE known working solutions were just filedisk for image files and Christian Ghisler's Ramdisk. unsure.gif

It seems to have some nice features, though, so if you are into experimenting a bit, it could be an option to try.

If any Chinese speaking member has the time/will to check the readme.txt translation, and/or add any information that might be available in Chinese only, he/she would be welcome.

A Chinese page sporting the original version is here:
http://www.piaodown.com/down/soft/25148.htm
(where the app is referenced to as:
QUOTE
Ramdisk V1.1 Final



I'll update and complete the post from time to time, if you have any more hints/links, please post it below, I'll add/edit this post and delete yours.

In other words, this thread is NOT meant for comments, just as a quick list of links, if you have meaningful comments, opinions or whatever, do post to a new thread with them and I'll add here a link to it



jaclaz

Posted by: jaclaz Sep 12 2007, 06:33 PM

02 May 2007

Links in post #2 added and updated, with particular reference to imdisk, see new thread about it.

12 September 2007

Added link in post #2 for "Rramdisk" or "Gavotte ramdisk"

jaclaz

Posted by: traveling Oct 19 2007, 04:45 AM

Thanks for uploading this. It's useful for me. thumbup.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)