LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-30-2011, 04:05 AM   #1
Young_zhang
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:
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.

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


Reply


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 07:51 PM
How does go about creating encrypted files systems prabhatsoni Linux - Software 3 10-27-2008 02:05 AM
Creating and using encrypted partitions as non-root v00d00101 Linux - Security 3 06-25-2006 06:31 PM
Assistance needed for creating a disk from an iso. NOWIN Linux - Newbie 14 04-19-2004 08:43 PM
creating encrypted passwords kidwired Linux - Security 3 01-12-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:11 PM.

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