在 Linux 命令行上挂载 NTFS 格式的 TrueCrypt 卷

在 Linux 命令行上挂载 NTFS 格式的 TrueCrypt 卷

我有一个硬盘,/dev/sdc 上有一个 TrueCrypt 卷。它使用 NTFS 格式化。我正在运行 Ubuntu 9.4。

为了安装卷,我尝试了以下操作:

 sudo truecrypt -t -k "" --protect-hidden=no /dev/sdc /mnt/data

提供正确的密码后,出现以下错误:

Error: $LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/mapper/truecrypt1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
          clicking on the 'Safely Remove Hardware' icon in the Windows
          taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
          your own responsibility. For example type on the command line:

            mount -t ntfs-3g /dev/mapper/truecrypt1 /mnt/data -o force

    Or add the option to the relevant row in the /etc/fstab file:

            /dev/mapper/truecrypt1 /mnt/data ntfs-3g force 0 0

我认为,我需要以某种方式将强制挂载选项传递给 mount 命令。但是怎么做呢?以下方法不起作用:

sudo truecrypt -t -k "" --protect-hidden=no --mount-options="-o force" /dev/sdc /mnt/data
Error: Unknown option: -o force

答案1

这是–fs 选项 = force

sudo truecrypt -t -k "" --protect-hidden=no --fs-options=force /dev/sdc /mnt/data

相关内容