LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2011, 05:29 PM   #1
slacker77
LQ Newbie
 
Registered: May 2009
Location: slovakia
Distribution: slackware
Posts: 16

Rep: Reputation: 3
cryptsetup - no such file or directory while trying to open /dev/mapper/crypthome


hello,

I've encrypted the /home partition. I've been successful in doing this by following the instructions here:

slackware64-current/README_CRYPT.TXT

But after upgrade to cryptsetup-1.2.0-x86_64, when I boot up I get 'no such file or directory while trying to open /dev/mapper/crypthome'

I have to manually type 'cryptsetup luksOpen /dev/sda9 crypthome' and mount each time to get into the encrypted partition.
I expect to be prompted for the password on boot but I just get that error, what is wrong?

my config files:

/etc/crypttab:
crypthome /dev/sda9

/etc/fstab:
/dev/mapper/crypthome /home ext4 defaults 1 2
I expect to be prompted for the password on boot but I just get that error, what am I doing wrong?

thanks
 
Old 01-24-2011, 05:43 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
You need to upgrade to the latest slackware-current, not just the cryptsetup package. Your issue has been fixed already:
Quote:
Sun Jan 23 08:32:10 UTC 2011
a/sysvinit-scripts-1.2-noarch-36.txz: Rebuilt.
Fixed unlocking non-root encrypted partitions in rc.S.
Thanks to Mikhail Zotov.
Eric
 
Old 01-24-2011, 05:54 PM   #3
slacker77
LQ Newbie
 
Registered: May 2009
Location: slovakia
Distribution: slackware
Posts: 16

Original Poster
Rep: Reputation: 3
I already upgraded to the latest slackware-current but without success. the issue is the same.
thanks for help.

Quote:
Originally Posted by Alien Bob View Post
You need to upgrade to the latest slackware-current, not just the cryptsetup package. Your issue has been fixed already:


Eric
 
Old 01-24-2011, 05:56 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,952

Rep: Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631Reputation: 9631
Quote:
Originally Posted by slacker77 View Post
I already upgraded to the latest slackware-current but without success. the issue is the same.
thanks for help.
Did you move /etc/rc.d/rc.S.new to /etc/rc.d/rc.S?

Hope this helps.
 
1 members found this post helpful.
Old 01-24-2011, 06:11 PM   #5
slacker77
LQ Newbie
 
Registered: May 2009
Location: slovakia
Distribution: slackware
Posts: 16

Original Poster
Rep: Reputation: 3
yes. i am using the new version of rc.S

Quote:
Originally Posted by volkerdi View Post
Did you move /etc/rc.d/rc.S.new to /etc/rc.d/rc.S?

Hope this helps.
 
Old 01-27-2011, 04:16 PM   #6
slacker77
LQ Newbie
 
Registered: May 2009
Location: slovakia
Distribution: slackware
Posts: 16

Original Poster
Rep: Reputation: 3
after downgrade to sysvinit-scripts 1.2-35 and upgrade back to 1.2-36 voila - it works !!!
thanks you all for help.


Quote:
Originally Posted by slacker77 View Post
yes. i am using the new version of rc.S
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CURRENT: LVM/CRYPTSETUP duplicate devices in /dev/mapper again. GazL Slackware 11 01-31-2011 07:36 PM
13 2.6.29.6 cryptsetup luks wrong device name in /dev/mapper/* TheSoftRock Slackware 1 03-04-2010 06:51 PM
[SOLVED] cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver. procfs Linux - Software 5 01-18-2008 11:06 AM
cryptsetup and device-mapper problem avallach Linux - Software 5 03-08-2007 12:38 PM
/dev/mapper directory joshnya Linux - Newbie 11 09-15-2005 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:58 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
Open Source Consulting | Domain Registration