Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-05-2007, 09:57 PM   #1 (permalink)
 
Banned

Join Date: Jun 2006

Location: United States of America

Posts: 109

Enterpriser is an unknown quantity at this point

Default Mounting Encrypted Partions

I am having some problems mounting encrypted partions during the boot process. Now, I can mount and open the partion as root from the command line: Using

cryptsetup luksOpen /dev/hda2 home
mount /dev/mapper/home /home

Problem is during boot I get this error

Code:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec
and verify that /dev/hda2 contains at least 133 sectors.
Failed to read from key storage.
If you need to know my kernal it is 2.6.19-1.2895.fc6; it does have support for encryption.

Well thanks, BTW I am trying to do this off a guide==>
Guide

Does it have something to do with autoloading the dm_crypt module? Thanks for any help!

EDIT: Had to retype kernal
Enterpriser is offline  
Old 03-06-2007, 09:53 PM   #2 (permalink)
 
Banned

Join Date: Jun 2006

Location: United States of America

Posts: 109

Enterpriser is an unknown quantity at this point

Default

Nevermind, I have found the problem and have fixed it. Now to be perfectly complete, I realized that Fedora Core 6 provides basic support for encrypted non-root file systems. Thusly, no need for the luksopen script. "editing /etc/rc.d/rc.sysinit and dm_crypt module autoloading"

instead it is enough to create /etc/crypttab:
Code:
hda2 /dev/hda2 none cipher=aes-cbc-essiv:sha256
this creates an encrypted block device /dev/mapper/hda2, which can be referenced in /etc/fstab.

Man, I rule, I am just awesome... >.>
Enterpriser is offline  
 
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On