HowTo: Crypted Partitions In Linux
-- to see disks and partitions
-- make the conversion
cat /proc/partitions-- partition-util
parted /dev/hdd--help
(parted) help-- create partition with fs-type-reservation (without fs)
(parted) mkpart primary ext3 0 120000-- double-check
(parted) print-- label the new partition
e2label /dev/hdd1 /secretdisk-- make filesystem on the new partition
/sbin/mkfs -t ext3 /dev/hdd1-- create the new mountpoint
mkdir /secretdisk-- create the new mapper
/usr/bin/cryptsetup -y create secretdisk /dev/hdd1-> password for secretdisk
-- make the conversion
dd if=/dev/hdd1 of=/dev/mapper/secretdisk bs=4k-- mount it
/bin/mount /dev/mapper/secretdisk /secretdisk---> use it !!!
vireas - 11. Feb, 15:38