On 02/09/2012 12:33 PM, Kai Weber wrote:
Calling hook cryptroot
cryptsetup: WARNING: failed to find deps for vg--sda-root
cryptsetup: FAILURE: could not determine configuration for vg--sda-root
....
The result of the warning/failure is a missing cryptroot file in initrd.
Maybe a problem with the (strange) naming of my LVM volume group (vg-sda)?
it could be - note that lvm uses dash ("-") to separate VG and LV name
in kernel device-mapper, so all other dashes are doubled (that's why
you see vg--sda-root).
Either the script should use /dev/VG/LV path (instead of /dev/mapper/...)
or you should decode lvm name using dmsetup:
# dmsetup splitname vg--sda-root
VG LV LVLayer
vg-sda root
(there is --noheading as well)
just FYI...
Milan
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org