I have a LUKS partition created with a previous distro that is no longer installed. The command to unlock it was always
sudo cryptsetup luksOpen /dev/sda7 myfolder
Which created the device /dev/mapper/myfolder, which I could then mount.
However under Ubuntu Mate, the cryptsetup command simply hangs after I have entered the LUKS passphrase. It doesn’t lock up the computer, it just stops doing anything (zero CPU usage), I can’t Ctrl-C out of it, I can only close the terminal.
The odd thing is that if I then do a status request, it appears to have worked:
sudo cryptsetup status myfolder /dev/mapper/myfolder is active. type: LUKS1 cipher: aes-xts-plain64 keysize: 256 bits device: /dev/sda7 offset: 4096 sectors size: 90166376 sectors mode: read/write
But then if I try to mount it:
sudo mount /dev/mapper/myfolder /myfolder mount: special device /dev/mapper/myfolder does not exist
Indeed, in /dev/mapper, there is no “myfolder”, just a file named “control”. Even though the cryptsetup status command says it is active…?
The thoughts of the team would be appreciated