blkid fails to identify old LUKS partition volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Triaged
|
Low
|
Unassigned | ||
cryptsetup |
Unknown
|
Unknown
|
|||
cryptsetup (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
udev (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: udev
Description: Ubuntu 9.04
Release: 9.04
udev:
Installed: 141-1
Symptoms:
My laptop fails to boot since I upgraded from Intrepid to Jaunty. Before Jaunty, the system asked for cryptsetup luks passphrases twice, a first time for the root partition (sda3 on my system) and a second time for the swap partion (sda4). Since Jaunty it asks for the root cryptsetup passphrase, unlocks the slot, waits a long time then drops to a shell, saying that the device /dev/disks/
What's actually wrong:
running udevadm info --export-db do not report any uuid for sda4, while sda3 is correct. See attached file.
More wrongness:
# vol_id /dev/sda4
unknown or non-unique volume type (--probe-all lists possibly conflicting types)
# vol_id --probe-all /dev/sda4
swap
crypto_LUKS
## I could not find a way to make vol_id spit out the uuid of the luks header of the partition.
For information, blkid has a different kind of wrongness. Out of the box it will report a wrong uuid (that is, the uuid that was used in intrepid and before), probably because it parses the luks data as swap area. But then it is possible to edit /etc/blkid.tab and say that sda4 is of type crypt_LUKS, then blkid will find the right UUID and remember it.
summary: |
- udev fails to identify crypt_LUKS swap partition by uuid + udev fails to identify crypt_LUKS partition by uuid |
tags: | added: regression-potential |
tags: | added: ubuntu-boot |
summary: |
- udev fails to identify crypt_LUKS partition by uuid + blkid fails to identify old LUKS partition volumes |
Changed in cryptsetup (Ubuntu): | |
status: | New → Confirmed |
tags: | removed: ubuntu-boot |
Your block device has multiple metadata on it, this isn't supported