I discovered this topic 'How to migrate an encrypted LVM install to a new disk' which was useful for creating lvm volumes on my new SSD. Nevertheless, my original Ubuntu 14.04 has just a /home encrypted (with ecryptfs) and the part showing the decrypt of /dev/sda5 is not appropriate to my case.
I would like to know in which order do the things, I mean, here is my lsblk :
stee@stee-OptiPlex-760:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 149G 0 disk ├─sda1 8:1 0 89,8G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 2G 0 part └─cryptswap1 (dm-0) 252:0 0 2G 0 crypt [SWAP] sr0 11:0 1 1024M 0 rom
I can't see where is my home, on sda1 or sda5 ??
Do i need to copy my crypted swap ?
Here is my /etc/fstab :
# Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=eef61317-fd02-4eee-85ce-8a00b20ef131 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation #UUID=da79fe68-814e-48e0-9fe8-bac41f1ffcbb none swap sw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0
ANd my /etc/crypttab :
cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256