暗号化されたext2コンテナのパスワードテスト

暗号化されたext2コンテナのパスワードテスト

パーティションテーブルなしでマウント可能なEXT2ファイルシステムを含む暗号化されたコンテナがあります。 cryptsetupを使用してこのファイルをマウントする方法は?試みが失敗し、「VFS:ext4ファイルシステムが見つかりません」...

ベストアンサー1

デフォルトモードを使用して暗号化されたコンテナを開いてマウントするには、次の手順に従ってください。

sudo cryptsetup plainOpen Container DecryptedContainter
sudo mount /dev/mapper/DecryptedContainer /mnt

完了したら、コンテナをアンマウントして閉じます。

sudo umount /mnt
sudo cryptsetup plainClose DecryptedContainer

適切な名前Containerとを使用DecryptedContainerし、代わりに正しい取り付けポイントを使用してください/mnt

からman cryptsetup

The following are valid plain device type actions:

   open --type plain <device> <name>
   create <name> <device> (OBSOLETE syntax)

          Opens (creates a mapping with) <name> backed by device <device>.

          <options> can be [--hash, --cipher, --verify-passphrase,  --key-
          file,  --keyfile-offset,  --key-size,  --offset, --skip, --size,
          --readonly, --shared, --allow-discards]

          Example: 'cryptsetup open --type plain /dev/sda10 e1'  maps  the
          raw encrypted device /dev/sda10 to the mapped (decrypted) device
          /dev/mapper/e1, which can then be mounted,  fsck-ed  or  have  a
          filesystem created on it.

おすすめ記事