更新 2:根据终端,我已使用我的 MOUNT 密码成功使用 ecryptfs(在添加 universe 作为存储库后获得):
sudo ecryptfs-recover-private /mnt/int-hdd
INFO: Found [/mnt/int-hdd].
Try to recover this directory? [Y/n]: Y
INFO: Could not find your wrapped passphrase file.
INFO: To recover this directory, you MUST have your original MOUNT passphrase.
INFO: When you first setup your encrypted private directory, you were told to record
INFO: your MOUNT passphrase.
INFO: It should be 32 characters long, consisting of [0-9] and [a-f].
Enter your MOUNT passphrase:
INFO: Success! Private data mounted at [/tmp/ecryptfs.VbnX38Kv].
但是,当导航到目录时...我的所有文件都不在那里。只有老朋友“access-your-private-data”和“README.txt”。当我尝试挂载目录时,我得到:
root@ubuntu:/tmp# cd ecryptfs.Vbn*
root@ubuntu:/tmp/ecryptfs.VbnX38Kv# dir
bin dev initrd.img lib32 media proc sbin sys var
boot etc initrd.img.old lib64 mnt root snap tmp vmlinuz
cdrom home lib lost+found opt run srv usr vmlinuz.old
root@ubuntu:/tmp/ecryptfs.VbnX38Kv# ecryptfs-mount-private
ERROR: Encrypted private directory is not setup properly
现在怎么办?如何正确设置加密的私人目录?我是否遗漏了一些关键步骤?
更新 1:我尝试按照说明解密我的主文件夹,但 ecryptfs-recover-private 仅返回“未找到命令”。尝试 apt-get eryptfs-utils 时,我只得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ecryptfs-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ecryptfs-utils' has no installation candidate
那么我该怎么做才能解密我的文件?
原文:搞砸了我的 Ubuntu 安装。笔记本电脑可以使用 USBoot 驱动器,但即使输入加密驱动器的密码后,它仍然无法使用。
我只是有一堆明显是‘断开的链接’的文件。
我该怎么办?