Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After 2 weeks of trying, failing, trying again, still failing, I finally got Ubuntu stable and operational.

My hard disk is quite old and slow but I have excessive RAM (16 GB 2133 mhz), so I was thinking about using that RAM for faster fetching.

How can I manually cache programs' binaries before running it? I know about preload but that's not what I want, I want to be able to lock the process' binaries in the memory so it can't get out and I wanna do that manually, preferably with GUI but I don't have a problem with terminal.

I don't wanna run it, just load the binaries and dependencies in memory.

Do you know anything that can do that?

share|improve this question

There is a rather lengthy tutorial on the forums you might like:

The guide basically explains how to create a squashfs image out of your existing Ubuntu installation and copy the entire image to RAM upon boot to speed up your OS. I will also go into some detail of how to make your /home mount from a regular hard drive thereby making sure the important information one would wish to save on their machine would remain untouched between boots.

See the guide for details.

share|improve this answer
This is as close as it gets to what i want i think. Thanks a lot. – Boltthrower56 Feb 26 '13 at 22:37

Three keywords to google and some helpful links:

Change swappiness: How do I configure swappiness?

/tmp to RAM (): How can I use RAM storage for the /tmp directory and how to set a maximum amount of RAM usage for it?

Disable access time:

These there were also lately covered in Hak5 for laptop battery optimization but these tricks should be also useful for your as the way to save power is to use less of that good old hard disk:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.