Help:"Protecting Data w/ Encrypted Linux Partitions"
Hi!
I was trying to follow the tutorial on "Protecting Data with Encrypted Linux Partitions" by Kashyap.
After I moved all my data temporarily and have started, I encountered this...
Code:
[jun@localhost ~]$ su -
Password:
[root@localhost ~]# cryptsetup --verbose --verify-passphrase -c aes-cbc-plain luksFormat /dev/sda8
WARNING!
========
This will overwrite data on /dev/sda8 irrevocably.
Are you sure? (Type uppercase yes): YES
Command failed: Can not access device
So I thought it was a problem in having the /dev/sda8 partition mounted so I executed this. Still got the same error. Can somebody please teach me what am I suppose to do please? Thanks!
Code:
[root@localhost ~]# mount /dev/sda8 /media/sda8
[root@localhost ~]# cryptsetup --verbose --verify-passphrase -c aes-cbc-plain luksFormat /dev/sda8
WARNING!
========
This will overwrite data on /dev/sda8 irrevocably.
Are you sure? (Type uppercase yes): YES
Command failed: Can not access device
[root@localhost ~]#