|
Search Tech-Forums - link takes you to our Forum's search page. Note: The following is only a text archive! To view the actual forum discussion, please visit our website at http://www.tech-forums.net Pages:1 Mounting Encrypted Partions(Click here to view the original thread with full colors/images)Posted by: Enterpriser 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.[/code] 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==> [URL=http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptHomeDirUsingLUKS]Guide[/URL] Does it have something to do with autoloading the dm_crypt module? Thanks for any help! :) EDIT: Had to retype kernal Posted by: Enterpriser 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 [/CODE] this creates an encrypted block device /dev/mapper/hda2, which can be referenced in /etc/fstab. Man, I rule, I am just awesome... [b]>.>[/b] vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited. PPC Management vB Easy Archive Final - Created by Xenon |