Bug 532598 - F12 asks for partition password multiple times when only 1 encrypted partition is used by it
Summary: F12 asks for partition password multiple times when only 1 encrypted partitio...
Keywords:
Status: CLOSED DUPLICATE of bug 530898
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-02 22:47 UTC by Andriy Tsykholyas
Modified: 2009-11-05 12:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-05 12:24:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
First password prompt (1.40 MB, image/jpeg)
2009-11-03 20:41 UTC, Andriy Tsykholyas
no flags Details
Second password prompt (1.28 MB, image/jpeg)
2009-11-03 20:43 UTC, Andriy Tsykholyas
no flags Details

Description Andriy Tsykholyas 2009-11-02 22:47:26 UTC
Description of problem:
Installed Fedora 12 beta x86_64 with with encrypted root partition (/) located on the logical volume. The installation has only /boot and /. There are some more encrypted partitions (on logical volumes), but they were not configured to be used by Fedora during installation. 
When Fedora starts is asks for partition password multiple times. It looks like is tries to unlock all available encrypted partitions.  

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. There should be some encrypted partitions before installing Fedora 12 beta.
2. Install Fedora 12 beta x86_64 with the following schema:
/boot (unencrypted)
/ (encrypted)
3. Boot Fedora.
  
Actual results:
Fedora asks for partition password multiple times.

Expected results:
Fedora should ask for partition password just once.

Additional info:

Comment 1 Ray Strode [halfline] 2009-11-03 02:10:13 UTC
When it asks for the second and subsequent passwords, what are the prompts? (if any?)

Comment 2 Andriy Tsykholyas 2009-11-03 09:29:20 UTC
the second and subsequent passwords prompts are exactly the same as the first one. I can attach photo/video it it would be helpful.

Comment 3 Ray Strode [halfline] 2009-11-03 14:45:30 UTC
A photo or two would be great.  Also, the output of

rpm -q dracut plymouth

and

cat /proc/cmdline

Comment 4 Andriy Tsykholyas 2009-11-03 20:41:34 UTC
Created attachment 367355 [details]
First password prompt

Comment 5 Andriy Tsykholyas 2009-11-03 20:43:46 UTC
Created attachment 367356 [details]
Second password prompt

It is shown after some seconds after the first one. There are a few more but they are the same. It seams it is shown for every encrypted partition present in the system.

Comment 6 Andriy Tsykholyas 2009-11-03 20:45:37 UTC
Here is the requested output.
rpm -q dracut plymouth:
dracut-002-13.4.git8f397a9b.fc12.noarch
plymouth-0.8.0-0.2009.29.09.9.fc12.x86_64

cat /proc/cmdline:  
ro root=/dev/mapper/luks-ce6a558e-435c-4dc2-a617-8965268ed3ba  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet

Comment 7 Ray Strode [halfline] 2009-11-03 21:27:09 UTC
seems like

http://www.redhat.com/archives/fedora-devel-list/2009-October/msg00201.html

again

Does adding rd_NO_LUKS to your kernel command line in /etc/grub.conf make the problem go away?

Comment 8 Andriy Tsykholyas 2009-11-04 06:37:52 UTC
The problem seems to be very similar with the one on mailing list.

Unfortunately adding rd_NO_LUKS to kernel command line did not fixed the problem. With that parameter the boot process never asks for partition password and after a while there is a black screen with following message:
"No root device found
Boot has failed, sleeping forever."

Here is how my grub.conf menu entry looks now (F12 /boot partition is sda2):
title Fedora (2.6.31.1-56.fc12.x86_64) test
	root (hd0,1)
	kernel /vmlinuz-2.6.31.1-56.fc12.x86_64 ro root=/dev/mapper/luks-ce6a558e-435c-4dc2-a617-8965268ed3ba  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet rd_NO_LUKS
	initrd /initramfs-2.6.31.1-56.fc12.x86_64.img

Comment 9 Harald Hoyer 2009-11-05 12:23:55 UTC
if root is encrypted, you can add rd_LUKS_UUID=luks-<uuid>

run
# dracut-gencmdline

and you will see the uuid.

Comment 10 Harald Hoyer 2009-11-05 12:24:05 UTC

*** This bug has been marked as a duplicate of bug 530898 ***


Note You need to log in before you can comment on or make changes to this bug.