[Bug 1037703] Re: Not possible to mount cryptsetup luks partitions at boot
Steve Langasek
steve.langasek at canonical.com
Wed Sep 5 18:09:17 UTC 2012
ok, please attach any /var/log/upstart/cryptdisks-*.log files from the
affected system.
** Changed in: cryptsetup (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1037703
Title:
Not possible to mount cryptsetup luks partitions at boot
Status in “cryptsetup” package in Ubuntu:
Incomplete
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://pt.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
100 /var/lib/dpkg/status
# 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://pt.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
# 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://pt.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
100 /var/lib/dpkg/status
# 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/cryptswap swap swap defaults 0 0
/dev/mapper/encriptado /encriptado ext4 defaults 0 0
When I boot, I get these messages:
"""
The disk drive for /dev/mapper/encriptado is not ready yet or not present
Continue to wait; or press S to skip mounting or M for manual recovery
The disk drive for /dev/mapper/cryptswap is not ready yet or not present
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1037703/+subscriptions
More information about the foundations-bugs
mailing list