So i have an SSD with the following partitions:
1. fat32 - /boot/efi - 190MB boot,esp
2. ext4 / 65.19 GB
3. linux-swap 1.40Gb
4. ext4 /home 398.98 Gb
I bought a new SSD and would like to clone everything from the old one, but make partitions all ext4 encrypted.
What's the best way to go about that? I've read different manuals, specifically this one https://linuxconfig.org/basic-guide-to-encrypting-linux-partitions-with-luks#h2-1-debian-ubuntu, but it is unclear what will will happen after I clone data to the encrypted partition.
Will the system boot and ask me for the password upon booting, as it does when I choose encrypted partitions on a regular Ubuntu install?
dd
. – sudodus Dec 18 '18 at 21:00