Install operating system on RAM?

Discussion in 'MacBook Pro' started by mfuchs88, Jun 5, 2012.

  1. mfuchs88, Jun 5, 2012
    Last edited: Jun 5, 2012

    mfuchs88 macrumors 6502

    Nov 26, 2011
    I know this is a very far-fetched idea, but I thought maybe, somehow, it might work. I was wondering if anybody had ever managed to install their operating system on their RAM. I know that it would be weird and unnecessary, but why wouldn't it work? It would probably be possible if one could manage to find the RAM as a mountable drive. I'm just very curious about the idea and would love to hear everybody's thoughts on it. Even if some amazing computer genius managed to figure it out, it would probably be very very taxing on the RAM and kill it's lifespan among other negative effects, such as crazy overheating. Anyway, let the discussion commence. :D
  2. GGJstudios macrumors Westmere


    May 16, 2008
    That's not feasible and is not the way RAM works. The OS manages RAM. You don't "install" the OS in RAM. It's not permanent storage.
  3. jcpb macrumors 6502a

    Jun 5, 2012
    It's called a ramdrive. The main problem is that conventional RAM is volatile, turn off the power and all data is lost. Most ramdrive configurations require secondary storage for backup and retrieval, and optionally backup power supplies in the event of power loss.

    This is wholly impractical for Macs.
  4. mfuchs88 thread starter macrumors 6502

    Nov 26, 2011
    I know that that's not the way it was "made" to work or typically works, I'm just trying to imagine if that would ever even be possible some how. Thanks for the input though :D


    Wow thank you for that. Googling ramdisk gave me some really awesome info that I never knew. So it kind of is possible, just not for basic consumer computers with regular RAM setup the way it is. Awesome stuff, thanks!
  5. takeshi74 macrumors 601

    Feb 9, 2011
    It's certainly possible with consumer computers. Maybe not with Macs (not stating this as fact as I have no experience in this area) but I've certainly used ram drives on my computers in the past.

    A far more practical solution is an SSD.
  6. pgiguere1, Jun 6, 2012
    Last edited: Jun 6, 2012

    pgiguere1 macrumors 68020


    May 28, 2009
    Montreal, Canada

    Can't be done with OS X though.

    The thing is it's not really "installed", it's just run from your RAM and won't save information after a reboot unless you have another storage media.

    What you can do however is create a RAM drive that is recognized as a secondary drive in OS X and you can boot apps from there with this app.

    Of course it will eat your RAM so I find it pretty pointless given that you could simply close the window of an app without killing its process and it would do basically the same thing.
  7. codymac macrumors 6502

    Jun 12, 2009
    There are enterprise products currently on the market which allow for exactly what you're talking about. Similar products have been on the market in various forms since the 70's.
  8. djtiek macrumors newbie

    Jan 8, 2014
    Knowing what RAM does, why can't you install the entire OS there?

    I hear what you're asking.

    Let's say I have 64 GB of RAM in my iMac. My OS with apps typically take up about 32 GB of space. If I were to install all 32 GB on my 64GB RAM, wouldn't that be hella fast?

    I've always wondered the same thing. I think the challenge lies in why is RAM there? Which I don't know either. And what lead me to search for the answer.

    I believe what the drive we call RAM does is clears itself every time you shut the computer down. Essentially tiding up the work space for the next days work.
    If that is so, why couldn't you, for a day, install my entire workspace on the RAM?
    I know it will delete everything upon restart. But imagine the speeds from the availability of having every app open in RAM and have 32GB of space left over.

    I just realized that I'm replying to a post that was asked a year and a half ago.
    I can tell a person in the past a bit about the future and with a better than average chance they'll reply. From a technological standpoint, that's amazing!
  9. goMac macrumors 603

    Apr 15, 2004
    Older versions of Mac OS had a feature called RAM disk. Let you do exactly what you said: turn a part of your RAM into a disk.

    Didn't affect the lifespan of RAM at all, no reason it would.

    I think I remember stories of people getting RAM disks to boot? Regardless, no one ever really seriously used this feature as a disk that wipes itself when it loses power isn't very useful for much besides a scratch disk.
  10. ecschwarz macrumors 65816


    Jun 28, 2010
    I think eventually we'll start seeing RAM and storage combined (maybe not for a few decades), but why not be able to address RAM and flash storage from eventually the same place? We've "borrowed" disk space for RAM before with virtual memory (managed by the OS), so I'm sure there could be some low-level way if manufacturers find it feasible.

    It's funny you bring this up because it was talked about on the latest episode of ATP (about 2/3 of the way though):
  11. simonsi macrumors 601


    Jan 3, 2014
    IBM System/38 circa 1970's/80's did exactly that. Trouble was they kept their file table in RAM so when they crashed they had to go and rebuild ALL their attached storage to find out where everything was. It wasn't unknown for that process to take 24hrs...then you could reboot :eek:
  12. smithrh macrumors 68020


    Feb 28, 2009
    There is a place in the UK (of all places) that makes DDR2 (not 3) SATA II (not III) RAM disks. It's not totally cheap, it's ~$400.

    Heck, they even have a separate power supply and a built in lithium battery so it will never lose power, plus automated backup from RAM to CF just in case you do lose AC power. Takes about 8-12 minutes.

    Interesting - I do wonder why we don't see more of this with the low price of RAM. There's a lot of older systems that could really stand a boost from a bona-fide RAM disk.
  13. Chuck Rodent macrumors regular

    Chuck Rodent

    Jan 9, 2014
    Install enough RAM in your machine to leave the Apps up and running all the time. This will have the same effect as having a RAM disk. Configure the Apps to use a scratch disk on an SSD if you overflow the memory. I don't see how this would be any different than duplicating your apps onto a RAM disk.

    You can use Activity Monitor to see how close your are to filling RAM. I have had Photoshop, Firefox, Excel, Mail, ViewNX, and Itunes all running under 8GB without overflow. My Mac Pro with 32GB never comes close unless loading a >4GB Photoshop file.
  14. Altemose macrumors G3


    Mar 26, 2013
    Elkton, Maryland
    Some basic Linux operating systems copy themselves to RAM when starting. This is kept until they are shut down.
  15. fenjen macrumors 6502


    Nov 9, 2012
    The ram is there because it's crazy fast and because the processor can access it quickly.
    Also ram doesn't "get cleared" it literally loses its data when it loses power. The shutdown process is basically, your mac scavanging the ram for any data that needs to be saved onto the hard disk.
    In a way though everytime you boot your pc, mac osx get installed on the ram. All the neccesary files for the os to run get copied to your ram, it just loses them everytime you turn off your pc.

Share This Page