Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I intend to install Ubuntu onto a 32GB pendrive. I've heard that the lifetime of a pendrive will reduce drastically due to the large number of read/writes due to running /tmp from pendrive. Does this issue really affect modern pendrives and how to use the RAM as tmpfs instead of having /tmp in the pendrive?

share|improve this question

I hope that this helps you in making your decision.

Due to the additional write cycles that occur on a full-blown installation, the life of the flash drive may be slightly reduced. Like any solid state drive, USB thumb drives have limited rewritable cells. Granted, these are quite long, but if you are using the drive as RAM, this can run out relatively quickly.

This doesn't apply to systems particularly designed for live systems which keep all changes in RAM until the user logs off. A Live SD in a USB flash card reader adapter is an effective way to avoid any duty cycles on the flash medium from writes and circumvent this problem. The SD card as a WORM device has an essentially unlimited life. An OS such as Linux can then run from the live USB/SD card and use conventional media for writing, such as magnetic disks, to preserve system changes.

Some disadvantages:

  • Limited Protection – Persistent Data is left unencrypted in most cases. Lose your drive, someone could steal and use your data.

  • Persistent data is uncompressed – Although the Live OS can be compressed, the persistent data is left uncompressed making it very
    easy to run out of storage space quickly.

  • Some changes are not saved persistently – In some cases, further modification is required to enable things like graphical card
    settings and network card settings to be saved. In some cases, system wide updates do not work.

Sources: and

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.