0

I upgraded my system to Ubuntu 14.04LTS, I encrypted the home & the swap partition during the installation since it was already encrypted in the old version.

But later I noticed swap partition is not used & using the gparted I found the swaps is damaged, I re-formatted the swap partition as Linux-swap & fixed the UUID in the fstab then cleared the crypttab, then swap was working fine but without the encryption. As soon as I run the ecryptfs-setup-swap to encrypt the swap partition then reboot the system it gets damaged.

This link shows the steps I followed

Any idea how to fix this?


@muru this is the output, & sda6 is the swap part.

sudo blkid

/dev/sda1: SEC_TYPE="msdos" UUID="5450-4444" TYPE="vfat" 
/dev/sda2: LABEL="RECOVERY" UUID="DAAC6031AC600A79" TYPE="ntfs"
/dev/sda3: LABEL="WinSys" UUID="E2D0647AD0645737" TYPE="ntfs"
/dev/sda5: UUID="96e501a8-40ee-4d08-bcb2-2396a99abd94" TYPE="ext4"
/dev/sda7: UUID="348874d5-f654-4640-bbad-0b377e545334" TYPE="ext4" 


sudo lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 698.7G  0 disk 
├─sda1   8:1    0  39.2M  0 part 
├─sda2   8:2    0  13.2G  0 part 
├─sda3   8:3    0   100G  0 part 
├─sda4   8:4    0     1K  0 part 
├─sda5   8:5    0  42.9G  0 part /
├─sda6   8:6    0  14.3G  0 part 
└─sda7   8:7    0 528.2G  0 part /home
sr0     11:0    1  1024M  0 rom  

Hope its readable now.

Zanna
  • 72,312

1 Answers1

0

I doubt it was damaged. Encrypted swap shows up as of type Unknown in tools like GParted, because the partition is filled with random data and such tools have no way of knowing that it really is an encrypted swap partition.

Zanna
  • 72,312
muru
  • 207,228