You are not logged in.

#1 2010-01-17 01:00:56

ocpmture
Member
Registered: 2010-01-15
Posts: 3

[SOLVED] Unable to boot encrypted volume.

Hi,

I set up the LUKS + LVM following the official installation guide.  Only boot is on a separate partition. / is part of the LVM. /dev/sda2 is where the encrypted LVM resides. During boot, after loading device-mapper:

"Waiting 10 seconds for device /dev/sda2

A password is required to access the cryptpool volumn:
Enter LUKS passphrase: ******"

padlock: VIA PadLock not detected.
key slot 0 unlocked
:: Running Hook [lvm2]
Scanning logical volumes...
  Reading all physical volumes. This may take a while...\
  Found volume group "cryptpool" using metadata type lvm2
Activating logical volumes...
  3 logical volumes(s) in volume group "cryptpool" now active
:: Running Hook [encrypt]
Waiting 10 seconds for device /dev/sda2 ...

A password is required to access the cryptpool volume:
Command failed: Device already exists
Command failed: Device already exists
Command failed: Device already exists
Command failed: Device already exists
Command failed: Device already exists
"

The command failed message keeps going and I never get a shell. Any idea how I can fix that? Why does it seem to be still waiting for /dev/sda2 even though the the cryptpool volume group seems to be decrypted already? Is this a configuration error? If so, how do I fix them if they're on the encrypted partition?

Thanks

Last edited by ocpmture (2010-01-17 04:17:20)

Offline

#2 2010-01-17 03:08:48

Zack89
Member
Registered: 2008-09-24
Posts: 170

Re: [SOLVED] Unable to boot encrypted volume.

Well i dont have much experience with this.. but it looks to me like /dev/sda2 is already mounted before Arch runs its routine. Is /dev/sda2 set to automount in fstab? That would honestly make sense, it be like you trying to dial a phone number on a phone thats already being used, it gets a busy signal until you hang the phone up and try to dial a different number. In this case, the number is /dev/sda2 and the phone is Linux trying to mount it.


Registered User number: 496613. Show your Tux Pride!
http://counter.li.org

Offline

#3 2010-01-17 04:15:53

ocpmture
Member
Registered: 2010-01-15
Posts: 3

Re: [SOLVED] Unable to boot encrypted volume.

I just did the same installation again and this time it worked. I think the only thing I did differently this time was not putting relatime as one of the mount options in fstab. But I don't think that was the problem.

Offline

#4 2012-06-01 20:50:48

lasombra
Member
From: Luzern
Registered: 2011-09-01
Posts: 68

Re: [SOLVED] Unable to boot encrypted volume.

I have the same problem or at least a quite similar problem. My installation was running quite fine some months, then 3 days ago, my CPU was overheating and just switched off. Since then, I cannot boot:

A password is required to access the cryptvol volumn:
Enter passphrase for /dev/sda2: ******"

A password is required to access the cryptvol volume:
Device cryptvol already exists
Device cryptvol already exists
.....

I don't have any idea on how to get out of this situation - I actually don't want to install Arch from zero again. Any ideas? I have some linux practices but I'm not expert, so it may be that I did not tried all what's possible.

Last edited by lasombra (2012-06-02 11:04:16)

Offline

#5 2012-06-07 20:59:50

lasombra
Member
From: Luzern
Registered: 2011-09-01
Posts: 68

Re: [SOLVED] Unable to boot encrypted volume.

Ok, my problem was just that I had encrypt and plymouth-encrypt as hooks defined and this definitively will not work.

lsinitcpio -a was a good help

Offline

Board footer

Powered by FluxBB