Cryptmount 设置不起作用

Cryptmount 设置不起作用

当我尝试使用 cryptmount-setup 设置加密时,它只是返回而没有任何反馈。它甚至没有创建该crypto.fs文件。我运行了命令:cryptmount nextcloud_datacryptmount -l显示目标的创建显然不成功,如下所示。

------------------------------
Your filing system is now ready to be built - this will involve:
 - Creating the directory "/media/nextcloud_data"
 - Creating a 2700000MB file, "/media/hdd_3tb/crypto.fs"
 - Adding an extra entry ("nextcloud_data") in /etc/cryptmount/cmtab
 - Creating a key-file ("/etc/cryptmount/nextcloud_data.key")
 - Creating an ext3 filingsystem on "/media/hdd_3tb/crypto.fs"
If you do not wish to proceed, no changes will be made to your system.

  Please confirm that you want to proceed (enter "yes")
  [no]: yes
Making mount-point (/media/nextcloud_data)... done
Creating filesystem container (/media/hdd_3tb/crypto.fs)...~ $
~ $
~ $
~ $ cryptmount nextcloud_data
    Target name "nextcloud_data" is not recognized
~ $ cryptmount -l
~ $

我已经减小了加密文件的大小,以确保这不是问题。关于这个问题有什么想法吗?

答案1

Cryptmount-setup 尝试写入以只读模式安装的分区,这就是该命令意外退出的原因。

相关内容