Comment 17 for bug 332950

Revision history for this message
David Schoen (neerolyte) wrote :

This seems to still break in Quantal (12.10) when upgrading from 12.04.

I was getting the "cryptsetup: WARNING: invalid line in /etc/crypttab - " errors when running update-initramfs (under a live CD because the machine was completely unbootable).

After following advice from http://forums.linuxmint.com/viewtopic.php?f=189&t=83763 I started digging around and in /usr/share/initramfs-tools/hooks/cryptroot and found it couldn't parse /etc/crypttab if the target field wasn't exactly the device name that was root was sitting under, e.g. changing it from "sda2_crypt" (what I believe 12.04 alternative installer set it to) to "sda2" meant update-initramfs and update-grub both ran without issue and the machine now boots without issue - seems like some dodgy parsing going on in that hook?