Welcome, Guest. Please login or register.
April 20, 2014, 06:47:25 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Pardus for beginners
| | |-+  Problem with encrypted external harddrive
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Problem with encrypted external harddrive  (Read 1091 times)
frisil
Pardus fellow craft
**
Gender: Male
Posts: 75


Linux rules!


View Profile
« on: October 14, 2008, 14:05:16 PM »

Hi, I have got an encrypted external haddrive I'd like to mount with Pardus. When I enter

cryptsetup luksOpen /dev/sdc2 secret

I am asked for my password, but then I get a

Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sdc2 contains at least 258 sectors.
Failed to read from key storage


Does anyone know how to get it working? My other distros (Mepis, Sidux) support it out-of-box, but I like Pardus better and want to continue using it. But I have to be able to get my external drive mounted....
Logged

The most merciful thing in the world is the inability of the human mind to correlate all its contents. (Lovecraft)
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #1 on: October 14, 2008, 15:08:34 PM »

Maybe the required modules for encrypted partitions are not loaded. The following command line should do the job.
Code:
modprobe aes dm_mod dm-crypt sha256
Logged

Team Pardus-fr - French Pardus tools translator
frisil
Pardus fellow craft
**
Gender: Male
Posts: 75


Linux rules!


View Profile
« Reply #2 on: October 14, 2008, 19:10:36 PM »

There seems to be a bug, because I get:

modprobe aes dm_mod dm-crypt sha256
WARNING: Error inserting aes_generic (/lib/modules/2.6.25.16-108/kernel/crypto/aes_generic.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting padlock_aes (/lib/modules/2.6.25.16-108/kernel/drivers/crypto/padlock-aes.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting aes_i586 (/lib/modules/2.6.25.16-108/kernel/arch/x86/crypto/aes-i586.ko): Unknown symbol in module, or unknown parameter (see dmesg)


And I cannot try anymore, because my drive lierally crashed this evening!!! Just a drop from 50 centimeters height, but it doesn't react anymore... so sad  Sad
Logged

The most merciful thing in the world is the inability of the human mind to correlate all its contents. (Lovecraft)
tuxedup
Pardus Developer
Pardus fellow craft
*****
Gender: Male
Posts: 65



View Profile
« Reply #3 on: October 17, 2008, 12:07:51 PM »

If you buy a new harddrive, consider using encfs.

I find this to be the best method of encrypting directories on drives.
Logged

frisil
Pardus fellow craft
**
Gender: Male
Posts: 75


Linux rules!


View Profile
« Reply #4 on: October 17, 2008, 12:19:34 PM »

If you buy a new harddrive, consider using encfs.


Thanks for the idea. Have you got a link to a good wiki/howto/etc?
Logged

The most merciful thing in the world is the inability of the human mind to correlate all its contents. (Lovecraft)
Andreas
Guest
« Reply #5 on: October 17, 2008, 13:23:46 PM »

Have you got a link to a good wiki/howto/etc?

Hello frisil,

German-Wiki-EncFS

Greetings
Andreas
Logged
frisil
Pardus fellow craft
**
Gender: Male
Posts: 75


Linux rules!


View Profile
« Reply #6 on: October 17, 2008, 14:31:50 PM »

Sounds good actually, I think I'll try it out when I get a new drive.
Logged

The most merciful thing in the world is the inability of the human mind to correlate all its contents. (Lovecraft)
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!