I want to encrypt my Ubuntu root partition. This partition currently includes the /boot folder, the swapfile and my home folder (let's call this partition sda9).
I found a solution to move my /root from sda9 folder to another partition in order to encrypt sda9 without the /boot directory.
Is it possible/ advisable to leave the swapfile and home directory inside sda9 when encrypting? Or should I encrypt them on another partition?
I want to copy a backup of sda9 back onto the encrypted drive in order to avoid formatting and preserve all my configuration.
Additional information: I have a dual boot set up with windows and Ubuntu 20.04.