On Thu, 06 Oct 2016 at 19:42:55 +0200, Paride Legovini wrote: > cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
For the record, the hook script gives this warning as it doesn't know whether the device is to be unlocked at initramfs stage or not. (Depending on what's on the device, not unlocking it initramfs stage can render the system unbootable.) Identifying the device by its LABEL or UUID (or for dm devices, using the the dm name prefixed with /dev/mapper) should be enough to take it away. > cryptsetup: WARNING: could not determine root device from /etc/fstab Hmm. This, on the other hand, should not happen if you have an entry in fstab(5) for the root mountpoint, regardless of whether the device is encrypted or not. Looking at the hook script's diff since 1.7.0-2 it's unclear to me what now causes the warning to appear. Could you share your /etc/fstab? -- Guilhem.
signature.asc
Description: PGP signature