Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What I want to do is open some programs in the boot sequence so Ubuntu loads them into memory. I'm already using the preload package and it's not helping in that part. Thanks.

share|improve this question

1 Answer 1

It should be possible to force ureadahead to load the programs during boot. Do achieve this:

  1. Delete the .pack files in /var/lib/ureadahead/:

    Alt + F2gnome-terminalsudo rm /var/lib/ureadahead/*.pack
  2. Make sure you are using automatic login:

    Alt + F2gdmsetup
  3. Reboot.
  4. Once your desktop loaded, quickly start the programs you want to preload during boot.
  5. To check if it worked, you can check, if the files are listed in the newly generated .pack files, e.g.:

    Alt + F2gnome-terminalureadahead --dump | grep "gedit"
  6. If a program is not included, you can extend the phase during which ureadahead waits after boot, by editing the file /etc/init/ureadahead.conf:

    Alt + F2gnome-terminalgksu gedit /etc/init/ureadahead.conf

    Then increase the sleep time in the last line: pre-stop exec sleep 45 and go back to 1.

share|improve this answer
If I wanted to allways include certain file in the pack, how do I not lose them on reproilfe? See my question askubuntu.com/questions/71395/… –  turbo Nov 13 '11 at 14:01

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.