Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-29-2009, 10:51 AM   #1
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Rep: Reputation: 15
[Slackware 13.0]Cryptsetup problem with encrypted home partition

Hello guys, just finished installing slackware 13.0 but im having some problems with cryptsetup.

After lilo starts loading the kernel and when it asks me the password to my encrypted partition, it just keeps asking even though im entering the correct password... If i hit Ctrl+C and login then i'm able to mount it.
Why it doesn't accept my password while booting the system i don't know.
Maybe because it asks the password before setting the correct keyboard layout??
Im in Portugal btw.

Any help is greatly appreciated.

EDIT: If i write:
cryptsetup luksOpen /dev/sda2 crypthome
mount /dev/mapper/crypthome /home
in rc.local it works perfectly.

But I would still like it to work via the usual way .
I'm pretty sure this is because of the keyboard layout.
Using rc.local as shown above, it asks me the password after the message
loading /usr/share/kbd/keymaps/i386/qwerty/
and not before.

Last edited by dlinux; 08-29-2009 at 11:28 AM.
Old 08-29-2009, 11:36 AM   #2
Senior Member
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Maybe its related to
Old 08-29-2009, 12:27 PM   #3
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,597

Rep: Reputation: 125Reputation: 125
Are you using an initrd.gz file? If so, you can set the keyboard layout to load (for me e. g. "-l de"). I think this should work for you.
Old 08-29-2009, 01:18 PM   #4
Senior Member
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Oh right, titopoquito's answer is probably much more helpful


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cryptsetup-segmentation fault on Slackware-12.0 - dlinux Slackware 2 01-30-2008 06:42 AM
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 07:17 AM
LXer: Encrypted home partition in Linux LXer Syndicated Linux News 0 05-03-2007 07:16 PM
persistent home dir with cryptsetup flying-tuxman Linux - Security 2 12-06-2005 01:22 AM
Step by step newbie guide for encrypted /home partition? eldergod Slackware 2 11-12-2004 07:49 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:09 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