LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-28-2011, 06:27 PM   #1
saivnoba
Member
 
Registered: Aug 2010
Distribution: Debian Sid, openSUSE, Gentoo, Slackware64
Posts: 68

Rep: Reputation: 2
Encrypted, LVM volume /home not recognizing (global) passphrase and so not mounting


Hi all,
I'm in deep trouble. My /home partition is not mounting anymore.

I have Fedora 15 installed in LVM setup. I've encrypted my partitions (swap, root and separate home).

Till yesterday, at boot time it would ask for passphrase once, I would type my passphrase and it would decrypt and mount all my partitions. Today however for no apparent reason, I'm being asked for passphrase for my /home partition. If I type my regular passphrase, it comes back to same passphrase entry box.

During install it asked for passphrase only once (global passphrase). I've been using it for past 4-5 months. I've also accessed these partitions from other distros with same passphrase. What happened in just one day?
Code:
saivnoba@A4741:~$ sudo lvscan -a
  ACTIVE            '/dev/sv/swap' [4.00 GiB] inherit
  ACTIVE            '/dev/sv/root' [16.00 GiB] inherit
  ACTIVE            '/dev/sv/home' [26.57 GiB] inherit
  ACTIVE            '/dev/sv/data' [93.13 GiB] inherit
saivnoba@A4741:~$ sudo cryptsetup luksOpen /dev/mapper/sv-home fedome
Enter passphrase for /dev/mapper/sv-home: 
No key available with this passphrase.
 
Old 10-29-2011, 09:19 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 1,773

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
According to the wiki, this error may be mean the dm-crypt module and the specific cipher that you use may not be loaded in the kernel. Check with lsmod. Another possibility is that your key has been deleted. I think you would get a different error if the key table was lost or corrupted.
 
Old 10-30-2011, 06:31 AM   #3
saivnoba
Member
 
Registered: Aug 2010
Distribution: Debian Sid, openSUSE, Gentoo, Slackware64
Posts: 68

Original Poster
Rep: Reputation: 2
Hi smallpond,
I'm sorry if I did not make it clear. It is a global passphrase. Single passphrase created during installation for my root, swap and home partitions. I'm able to unlock root partiton (sv-root). I can access it from other distros too. However, swap and home partitions are not being unlocked. The particular error is for home partition.

Could you point me to the wiki you are referring to?
 
Old 10-30-2011, 11:24 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 1,773

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by saivnoba View Post
Hi smallpond,
I'm sorry if I did not make it clear. It is a global passphrase. Single passphrase created during installation for my root, swap and home partitions. I'm able to unlock root partiton (sv-root). I can access it from other distros too. However, swap and home partitions are not being unlocked. The particular error is for home partition.

Could you point me to the wiki you are referring to?
Sorry, I should have posted a link. Let me check my history. OK, I visited these 2 sites:
https://wiki.archlinux.org/index.php/LUKS
http://code.google.com/p/cryptsetup/...ommon_Problems
 
  


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] Skip mounting encrypted volume at boot Yalla-One Fedora 6 10-11-2011 02:37 AM
[SOLVED] phpMyAdmin not recognizing stated secret passphrase bluegospel Linux - Software 3 09-24-2011 07:45 PM
[SOLVED] How does one change login passphrase (to unlock encrypted home directory) tonyfreeman Linux - Security 4 11-22-2010 09:12 PM
mounting / rescue encrypted volume simonwil Ubuntu 2 11-02-2009 03:58 PM
LVM volume mounting trouble SergeyAC Linux - Software 3 04-11-2005 02:28 PM


All times are GMT -5. The time now is 07:08 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration