I have two Ubuntu linux partitions, and each has its own swap space. Is it possible to make them use the same swap space?

link|improve this question

feedback

2 Answers

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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