Originally Posted by
tapucosmo
I tried to follow the guide but faced problem when i tried to encrypt the partition for my root system. This is what i did:
I booted Kubuntu from live usb and choose 'Try Kubuntu'. Then i used GParted to crate one partition for boot - /deb/sdb/sdb1, and one partition for root - /deb/sdb/sdb2. These are my partitions:
Code:
kubuntu@kubuntu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 50M 0 part
├─sda2 8:2 0 48.3G 0 part
├─sda3 8:3 0 505M 0 part
└─sda4 8:4 0 63G 0 part
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 500M 0 part
├─sdb2 8:18 0 49.5G 0 part
└─sdb4 8:20 0 881.5G 0 part
Then i tried to encrypt /deb/sdb/sdb2 partition and i tried these two commands:
Code:
sudo cryptsetup luksFormat /dev/sdb/sdb2
and
Code:
sudo cryptsetup luksFormat --type luks1 /dev/sdb/sdb2
but for both i get this error:
Code:
Device /dev/sdb/sdb2 doesn't exist or access denied.
Bookmarks