When using luksOpen, does one specify the UUID and the PARTUUID. Which goes first?
On trying to post the above sentence, AskUbuntu robocop said it does not meet "our quality standards". I cannot be any more clear that the question as asked. Sorry to all Admins. It's taken me 8 weeks of daily researching encryption to get to a point where I can form my question. But for the sake of complying with AskUbuntu. Here goes nothing.
I have my /home on an external sata.
I installed Ubuntu 16.04 to a ssd
using Ubuntu's installation time encryption. I was shown a 32 character passphrase and told to write it down. I did so. When I called Ubuntu's "Backups" and told it to restore it failed as the external drive has become encrypted. Even though I did not have the external sata /home
powered up during the install. At one point in time, I was able to unlock (is that technically: unwrap?) the /home
, but now I can't. Again, after 6 to 8 weeks of researching this, I believe I need the above short question answered.
I don't usually perform a "Restore", so I'm uncertain if it "didn't work as usual". The Backups have always written to the ext dev
. And Deja-Dup
runs a test on the backup set. I've never seen an error reported. I have a /home on an external drive. It is written by deja-dup
. After I installed the ssd
, and tried to "Restore", deja-dup
said it could not find the place to restore from. I did nothing that I am aware of to encrypt the external drive. I may have had it turned on but don't 100% recall
cat /etc/crypttab
cryptswap1 UUID=71335368-221f-4afd-9fde-f337dee8ee15 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
but the external device is (from lsblk
):
/dev/sdb1: UUID="9deada4e-82ad-45fa-a1c6-a8e68d8b41f5" TYPE="ext4" PARTUUID="e1d12727-f8c8-47bf-be15-e7246d3dd0c4"
Again, I apologize to the Admins of AskUbuntu, and thank you to all the Linux Community for any help.
When I called Ubuntu's "Backups" and told it to restore it failed as the external drive has become encrypted
mean...You encrypted then made backup, then tried to restore... Please write out the process till this current point so we can follow or I can follow. Again you could try both and which ever works is the answer but I believe its theUUID
– George Udosen Aug 23 '17 at 19:46cat /etc/crypttab
and paste the output – George Udosen Aug 23 '17 at 23:03UUID=71335368-221f-4afd-9fde-f337dee8ee15
, device mapper name is :cryptswap1
– George Udosen Aug 24 '17 at 00:01lsblk -f
to what ownsUUID=71335368-221f-4afd-9fde-f337dee8ee15
– George Udosen Aug 24 '17 at 00:03mark@Lexington:~$ sudo lsblk -f [sudo] password for mark: NAME FSTYPE LABEL UUID MOUNTPOINT sdb
sdc
└─sdc1 ext4 9deada4e-82ad-45fa-a1c6-a8e68d8b41f5 sda
├─sda2
├─sda5 swap 71335368-221f-4afd-9fde-f337dee8ee15 │ └─cryptswap1 -- FWIW I'm trying to unlock sdc1 – Aug 24 '17 at 16:37