Can I load my entire OS into the RAM? If so, how?

  • Thread starter Thread starter Moose_Ryder
  • Start date Start date
  • Tags Tags
    Load Os Ram
Click For Summary

Discussion Overview

The discussion centers around the feasibility and implications of loading an entire operating system (OS) into RAM, particularly focusing on Windows and lightweight Linux distributions. Participants explore the advantages and disadvantages of such an approach, including performance, cost, and practicality.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests that using a server motherboard with 64 GB of RAM could allow for pre-loading Windows into RAM, highlighting potential speed benefits and concerns about software compatibility and practicality.
  • Another participant notes that Windows already utilizes RAM during operation and mentions the existence of lightweight Linux distributions that can run entirely in RAM, such as Puppy Linux.
  • Concerns are raised about the risks of data loss due to power failure or memory errors when running an OS solely from RAM.
  • Discussion includes the idea that lightweight Linux distributions are designed for specific use cases, with some being optimized for diskless operation, which may not provide robust performance for all applications.
  • Participants mention the historical context of using lightweight distributions for specific hardware, such as Raspberry Pi, and the trade-offs involved in using such systems.

Areas of Agreement / Disagreement

Participants express a mix of enthusiasm and caution regarding the idea of loading an OS into RAM. While some agree on the potential benefits, others highlight significant challenges and risks, indicating that the discussion remains unresolved with multiple competing views.

Contextual Notes

Limitations include the dependence on specific hardware capabilities, the nature of the operating systems discussed, and the unresolved implications of data loss risks when operating solely from RAM.

Moose_Ryder
Messages
7
Reaction score
0
The DDR3 1333 is relatively cheap, so I'm thinking about buying a server mobo that can stock up to 64 GB of RAM (2^64 enables that many address lines, I suppose?) Then I can pre-load the entire windows into the RAM, so :

Advantages:
super-groovy and sweet just to think about
lightning fast
No need to worry about viruses (RAM would be wiped clean once off-line)

Disadvantages:
Clearly very expensive
The software may not exist
Extra hardware maybe necessary
updating windows would be complicated
may be impractical due to windows' nature (disc borne, Ram-run)

I tried SSD, yes it's fast, and it got me thinking, why bother SSD if RAM can be used for mass storage? Even if it means I have to use 32GB just to store the OS while the rest <32GB to run the OS?

Thoughts?
 
Computer science news on Phys.org
Windows primarily runs off of RAM as it is. With the windows repair/recover option, it's actually running a very light OS just off RAM. The same goes with when you boot with an Ubuntu LiveCD.

Check this out. https://wiki.ubuntu.com/BootToRAM

The biggest issue I would have with it is an unexpected power loss or memory error causing (an attempted, at least) crash dump. Zap! All your work is gone.

What's your intent with a build such as this?
 
There are some really awesome lightweight linux distros that run basically all in ram
For example puppy linux does just that if i remember right.. i think tinyos might i can't remember but google those and yeah..
Winderp already has to much stuff in ram.. same with android.

But this is a very powerful concept with good linux distros
 
B Elliot has a great point. And yes, it is fun to tink with stuff like that. Just don't trash your distro to do it.
Remember all of the software you've installed?

DSL (Damn** Small Linux), ARM and others are small for special reasons: Knoppix was definitely designed and (I believe DSL was designed) for diskless workstations to boot from a PROM or CD. ARM linux was designed for the chip the runs your home refrigerator or maybe your 2001 Toyota. It has a total of maybe 50MB.

In fact having a Knoppix CD was a good idea as a rescue disk way back when.

Have a read: this is meant for Raspberry Pi - another really fun, inexpensive thing to mess with using a tiny linux:

http://elinux.org/ArchLinux_Install_Guide
http://www.raspberrypi.org/

These tiny versions don't do sound well, play games well or do graphics well necessarily. After you read the install guide you'll see the trade offs.

If you want to do it - go for it. Just do not blow away your current distro. You may want it back when you get bored with wget instead of firefox.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
29
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
10
Views
4K
  • · Replies 23 ·
Replies
23
Views
5K
  • · Replies 14 ·
Replies
14
Views
12K
  • · Replies 19 ·
Replies
19
Views
15K
Replies
10
Views
3K