I have a question regarding encrypted SWAP partitions, or rather: SWAP partitions in general:
On my private laptop, I use openSUSE in the latest version as my OS, which is installed on an unencrypted ext4 partition and has an unencrypted SWAP partition at its disposal.
Now we're thinking about going BYOD at work, were we use Ubuntu LTS 12.04 as our OS and I'd like to install that as a second OS on my private laptop in a dual-boot setup.
To ensure that no company data will be accessible if the laptop should get lost/stolen/hacked/etc, I have to install the Ubuntu LTS on an encrypted ext4 partition and have the SWAP space encrypted, too.
My question here is: Is it possible to use the already existent SWAP partition from openSUSE, have the Ubuntu installer encrypt it and later use it encrypted under Ubuntu and unencrypted under openSUSE? My guess would be no?
If it's really "no", what would be my alternatives? Could I just create a second (encrypted) SWAP partition during the Ubuntu installation and have Ubuntu use that while SUSE keeps using its unencrypted one? Or will any of the two distros automatically use all available SWAP space on the physical HDD? (openSUSE would probably not be able to use the encrypted Ubuntu-SWAP, I suppose, but Ubuntu using the unencrypted SUSE-SWAP would be even worse!
Thank all of you in advance for any answers!