encrypted partition question




I was trying to encrypt my ext3 partition /dev/hda6, that's what I did:

1. I've added modules: aes, dm_mod, dm_crypt, to /etc/modules
2. Created the cryptographic device mapper: cryptsetup -y create crypt /dev/hda6 (entered passphrase twice)
3. Changed this options:
echo "crypt /dev/hda6" >> /etc/crypttab; echo "/dev/mapper/crypt /mnt/crypt ext3 defaults 0 1" >> /etc/fstab
4. Created mount directory; mkdir /mnt/crypt
5. Created a filesystem on the mapped device: mkfs.ext3 /dev/mapper/crypt

So, when I've tryied to mount /mnt/crypto It was mounted without passphrase question, but it was mounted.
But , after reboot I've tried to mount my partition, and that what I have now:
# mount /mnt/crypt/
mount: special device /dev/mapper/crypt does not exist

And I don't have a crypt file in /dev/mapper/ directory.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [2.6.17.4] slabinfo.buffer_head increases
    ... directly relevant. ... To reproduce one just has to mount an ext3 partition and perform ... If you mount it as ext2 the problem is gone. ...
    (Linux-Kernel)
  • Re: OT: Comparison of filesystems
    ... you can't "wipe" files on a journaling fs. ... mount your ext3 partition as ext2, wipe the fileand then re- ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • fsck failure at boot
    ... installed a fibre Qlogic HBA in the controller node, ... I formatted one large ext3 partition and was able to mount it flawlessly. ... Upon rebooting, however, the system hung while checking the new filesystem: ...
    (RedHat)
  • Re: OT: Comparison of filesystems
    ... you can't "wipe" files on a journaling fs. ... mount your ext3 partition as ext2, wipe the fileand then re- ...
    (Debian-User)
  • Re: OT: Comparison of filesystems
    ... you can't "wipe" files on a journaling fs. ... mount your ext3 partition as ext2, wipe the fileand then re- ...
    (Debian-User)