Gutsy fails to find the root device in /usr/share/initramfs-
tools/hooks/cryptroot because it blindly looks at the fstab entry for
root and takes the first entry like so:

while read device mount type options dump pass; do
                if [ "$mount" = "/" ]; then
                        echo "$device"
                        return
                fi
        done

This is not correct for gutsy because the first entry is actually a UUID of the 
volume (using lvm).
UUID=afc6476b-a4a7-47ac-be56-d2aaafc1136d /           ext3    defaults        0 
      2

So it fails to find the device in the crypttab and therefore does not
add it to the conf/conf.d/cryptroot in the initramfs.

If I remove the UUIDs and replace them back with a device name it works.

-- 
Support for encrypted root filesystem (cryptsetup)
https://bugs.launchpad.net/bugs/21878
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to