I'm going to create multiple boot environment on my notebook machine (Windows with several Linux distros). Is it good idea to create only one swap partition and share it among all installed linuix distros? I mean the same swap space (partition) will be used as /swap for all installed distros. Could one distro jeopardize another one if they all use this same swap space?
No problem at all
I did it several times and no worries. Remember that you need at least the same amount of disk space that you already have as RAM (never less) if you plan use suspend-to-disk.
Good luck
suspend-to-disk
suspend-to-disk saves the system state in the swap space, which precludes using the same space for other things, while there is a suspend image (i.e. until resume).
Am I wrong?
If the system goes to suspend-to-disk, when you wake it up again it should go back exactly at same point. But, wait, if you boot to another system in grub instead of choosing the restoration, other system might thrash all swap content.
You are Right
Hi Ho!
Yes, you are right. The other system will thrash the swap so that you cannot restore the system being suspended.
Best regards,
Eus