Not possible to mount cryptsetup luks partitions at boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I installed a fresh 12.04, after wiping 10.04 and encrypted a partition via cryptsetup luks...
I followed the same procedure as in 10.04 and it was working fine there.
After the boot process, I can manually open the encrypted partition as well as swapon on the swap partition.
The problem is that this doesn't work during the boot process as it should.
Ive been searching and this seems to be an 'old' problem now.
Here's my data:
Description: Ubuntu 12.04.1 LTS
Release: 12.04
# apt-cache policy cryptsetup
cryptsetup:
Instalado: 2:1.4.1-2ubuntu4
Candidato: 2:1.4.1-2ubuntu4
Tabela de Versão:
*** 2:1.4.1-2ubuntu4 0
500 http://
100 /var/lib/
# apt-cache policy cryptmount
cryptmount:
Instalado: 4.2.1-1
Candidato: 4.2.1-1
Tabela de Versão:
*** 4.2.1-1 0
500 http://
100 /var/lib/
# apt-cache policy cryptsetup-bin
cryptsetup-bin:
Instalado: 2:1.4.1-2ubuntu4
Candidato: 2:1.4.1-2ubuntu4
Tabela de Versão:
*** 2:1.4.1-2ubuntu4 0
500 http://
100 /var/lib/
# cat /etc/crypttab | grep -v '^#' | grep -v '^$'
encriptado /dev/sda6
cryptswap /dev/sda5 /dev/urandom swap
Although the process doesn't get to this point, there's my relevant lines of fstab
# grep -e 'cryptswap' -e 'encriptado' /etc/fstab
/dev/mapper/
/dev/mapper/
When I boot, I get these messages:
"""
The disk drive for /dev/mapper/
Continue to wait; or press S to skip mounting or M for manual recovery
The disk drive for /dev/mapper/
Continue to wait; or press S to skip mounting or M for manual recovery
"""
If I wait, nothing happens.
If I press S (twice), none of the partitions are mapped:
# ls -l /dev/mapper/
total 0
crw------- 1 root root 10, 236 Ago 16 18:50 control
Thanks for any help, as this computer will not be used by me but by a non savvy person in this area.
The line: encriptado is not ready yet or not present"
"The disk drive for /dev/mapper/
in fact is:
"The disk drive for /encriptado is not ready yet or not present"