• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Windows on virtual hdd in RAM, possible at all?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

donati

Registered
Joined
Nov 20, 2003
Hi group

Is it possible to boot and run windows from a virtual drive that resides in RAM, so that it is possible to run the computer without a physical hdd drive?

Is there allready some software that can create such a virtual drive?

Mvh. Finn Donati
 
You would need 2GB+ of RAM for this, plus the image would need to be loaded into RAM from disk or CDROM to start.

I think maybe it could be done, Linux systems residing entirely in RAM are possible and common, I suppose with enough RAM then a full graphical linux system could be held in RAM.

Not sure about Windows though.
 
My motherboard only supports up to 1.5gb RAM, but even that should be enough to run windows.. i remember that my very first PC had a 1.2gig hdd

i need a patch for windows, that will allow it to run without a hdd, a tool that creates i virtual drive, and a driver for same :)

But it should be possible to do it with windows, dont you think?
(im no good at Linux).

The reason i ask this is that if it is possible, i would like to run my PC without any hdd's and fans = totally silent.
Could get hdd storage space from another PC on LAN.
 
donati said:
My motherboard only supports up to 1.5gb RAM, but even that should be enough to run windows.. i remember that my very first PC had a 1.2gig hdd

i need a patch for windows, that will allow it to run without a hdd, a tool that creates i virtual drive, and a driver for same :)

But it should be possible to do it with windows, dont you think?
(im no good at Linux).

The reason i ask this is that if it is possible, i would like to run my PC without any hdd's and fans = totally silent.
Could get hdd storage space from another PC on LAN.

Might be cheaper and easier to just enclose your hard disk(s) in some sort of enclosure?
 
David said:


Might be cheaper and easier to just enclose your hard disk(s) in some sort of enclosure?

hmm.. you might be right on this.. will have to think it over a bit
 
In order to make windows run off a RAMdrive, the follwing things would need to happen...

1) Bios boots off a drive containing RAMdrive software (must remain memory resident!)
2) Software creates a 1GB virtual partition in RAM (let's call it R:\)
3) Software copies the contents of a second HD containing an image of the RAMdrive on the previous shutdown, to the RAMdrive again.
4) Software simulates a boot condition and reads the bootsector of the R: drive.
5) Windows loads off the R: drive.
6) When something is written to the R: drive, the memory resident RAMdrive software adds it to a write-cache where it will wait for an opportune time to update the real windows instalation on the second HD.
7) On shutdown, the software intercepts Windows' shutdown request and flushes it's write-cache and creates an image of the RAMdrive to save to disk.
8) When the backup process is complete, the software sends the signal to turn off the computer.

If you could get all that to work, you might have a working solution. When installing windows for the first time, you'd need to assign the HD it installs to the letter R: since that will be the path it looks at when it's on the RAMdrive.

However, I haven't heard of any RAMdrive software that initializes on boot and restores a bootable image from another drive. You can get plenty of programs to make a drive within windows, or make a drive within DOS, but none AFAIK that include their own bootloader to make a drive without Windows, DOS, or Linux allready running......

JigPu
 
shiyan said:
WELCOME TO THE FORUMS!

this does seem to be possible, although it is 98, and not 2000 or XP. It is not without its risks though, have a look here: http://forum.oc-forums.com/showthread.php?s=&threadid=247008

unfortunately that's all I've been able to dig up... haven't found a website for it or something like that.

Thanks alot, sounds like that could work :)

Im off to google about for more on this..
 
JigPu said:
none AFAIK that include their own bootloader to make a drive without Windows, DOS, or Linux allready running......

JigPu

Im a bit rusty with the linux stuff but it should go as follows:

- boot kernel from LAN or HDD, with initrd.
- Initrd loaded into RAM and Linuxrc called.
- Linuxrc creates large (say 1Gb) RAMDrive and loads entire filesystem from a LAN/hard drive.
- Linuxrc calls Init from the RAMDrive and Linux kernel continues to boot, mounting RAMDrive as root partition.
 
Here's one easy way to do it in linux:

Download Knoppix 3.3 or a remastered veriosn of it.
Burn the CD.
Boot the CD with the cheatcode:
knoppix toram
Wait a few minutes while it copies the contents of the CD to rasmdisk. You need at least 768mb to do this.

Knoppix is actually close to 1.75GB of files, but it is compressed in a cloop so it fits on a 700mb CD.
 
Yes, those adapters will turn a CF card into IDE. I've looked at the pinouts on them, and it seems like you could almost make one yourself if you were REALLY good at soldering :D

The problem with using a CF card is that it's really slow. The fastest ones I've seen are from Lexar and run at the same speed as a 40x CD (a mere 6MB/sec). Also, you may hit the problem of maxing out the number of writes the CF card can handle (I read it's about 1 Million before it dies), so you'll want to take that into consideration as well.

JigPu
 
Back