Solved

Can you boot w/ only virtual memory in your PC.

Posted on 2004-10-11
6
302 Views
Last Modified: 2010-04-26
Question:

Can you boot a PC using only it's virtual memory (and no RAM sticks) and please explain why or why not?
0
Comment
Question by:pdoriley
6 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 12280163
No the computer would fail its POST (power on self test) that runs before the OS is loaded, it would just beep at you :(
0
 
LVL 1

Author Comment

by:pdoriley
ID: 12280432
Why?
0
 
LVL 1

Author Comment

by:pdoriley
ID: 12280449
If not for the POST, could it theoritically run off of virtual memory?  Why do we need memory sticks?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 2

Accepted Solution

by:
Wolfpup99 earned 230 total points
ID: 12283396
Impossible, because code can only execute in physical memory, that's fundamental to how computers work -- in executing a program, the processor fetches instructions and data from memory addresses.

So-called "virtual memory" is a secondary memory store to which, and from which, physical memory pages are swapped by the operating system, effectively increasing the amount of available memory.  But any code that actually executes, at the moment it is executing, must reside in physical memory.

The part of the operating system callled the non-paged kernel is also a reflection of this fundamental fact.  That's the part of the OS that must always be in physical memory for a number of reasons, one of which is that it manages the virtual memory part.

Having said that, some of the earliest computers functioned without what we now call RAM, using magnetic drum memory that somewhat resembled disk drives.  However, they were specifically built to run that way because practical RAM technology did not yet exist.
0
 
LVL 13

Assisted Solution

by:Dr-IP
Dr-IP earned 20 total points
ID: 12283724
Actually a computer could operate using a hard drive instead of RAM, but can’t since no computer is designed to work that way. The real question is why would anyone want a computer to work that way? I’d be slow, horribly slow, and close to useless.
0
 
LVL 2

Expert Comment

by:Wolfpup99
ID: 12285321
Happy to help...

By way of further clarification, virtual memory is really nothing more than the process of an operating system paging out (i.e.- writing out to disk) parts of memory-resident programs and data that are not in use at a moment in time, and then bringing them back in when they are needed.  This frees up memory for programs that need to run at that particular moment in time.

So fundamentally virtual memory is just a feature that is created by the operating system (with a bit of help from memory management features in the CPU).  If you start up your PC with a basic dumb operating system like DOS for instance, there is no virtual memory -- the RAM sticks is all you have!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Like many organizations, your foray into cloud computing may have started with an ancillary or security service, like email spam and virus protection. For some, the first or second step into the cloud was moving email off-premise. For others, a clou…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question