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

Question:

Can you boot a PC using only it's virtual memory (and no RAM sticks) and please explain why or why not?
LVL 1
pdorileyAsked:
Who is Participating?
 
Wolfpup99Connect With a Mentor Commented:
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
 
Pete LongTechnical ConsultantCommented:
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
 
pdorileyAuthor Commented:
Why?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
pdorileyAuthor Commented:
If not for the POST, could it theoritically run off of virtual memory?  Why do we need memory sticks?
0
 
Dr-IPConnect With a Mentor Commented:
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
 
Wolfpup99Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.