You are not logged in.
Pages: 1
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
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
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
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
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
Pages: 1