Young_zhang |
11-30-2011 03:05 AM |
Assistance With Creating An Encrypted Partition
i want to create an encrypted partition.
i do the following:
Quote:
dd if=/dev/zero of=/myPartition bs=1k count=100
losetup -f
|
so i know i can use /dev/loop0,then i input the following:
Quote:
losetup -e des /dev/loop0 /myPartition
|
after I input a passwd, it prompted:
ioctl:LOOP_SET_STATUS:invalid argument
when i think maybe some modules isn't loaded.i try following:
Quote:
lsmod | grep -E 'loop|crypt|des'
crypto_blkcipher 17601 1 testmgr
crypto_algapi 22849 3 testmgr,aead,crypto_blkcipher
des 20417 0
cryptoloop 7361 0
loop 18761 1 cryptoloop
crypto_api 12609 5
|
my linux dis is centos 5.5
kernel version is Linux localhost 2.6.18-194.el5
thanks.
|