Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-30-2011, 03:05 AM   #1
LQ Newbie
Registered: Nov 2011
Location: China
Distribution: centos 5.5
Posts: 21

Rep: Reputation: Disabled
Assistance With Creating An Encrypted Partition

i want to create an encrypted partition.
i do the following:
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:
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:
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


Last edited by Young_zhang; 11-30-2011 at 06:18 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error creating encrypted home the.odd.byte Incognito 3 04-01-2009 06:51 PM
How does go about creating encrypted files systems prabhatsoni Linux - Software 3 10-27-2008 01:05 AM
Creating and using encrypted partitions as non-root v00d00101 Linux - Security 3 06-25-2006 05:31 PM
Assistance needed for creating a disk from an iso. NOWIN Linux - Newbie 14 04-19-2004 07:43 PM
creating encrypted passwords kidwired Linux - Security 3 01-12-2003 04:34 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration