Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have two Ubuntu linux partitions, and each has its own swap space. Is it possible to make them use the same swap space?

share|improve this question
up vote 8 down vote accepted

You just have to edit your /etc/fstab files to list the same partition as swap for both. Beware however that if you hibernate one and then start the other the "hibernated" state will be gone.

share|improve this answer

Yes they can both use the same swap space. Just make sure the entry for them in /etc/fstab is the same for each distribution or you'll get errors about invalid swap signatures.

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.