[Bug 551055] [NEW] Problems when booting an encrypted lvm containing btrfs

Vincent v.wochnik at googlemail.com
Mon Mar 29 17:08:53 UTC 2010


Public bug reported:

Binary package hint: initramfs-tools

SYSTEM information:
Ubuntu Lucid Lynx (newest, dist-upgrade 20 mins ago :))
Package: initramfs-tools v. 0.92bubuntu71
------------------------------------------------------------------------------

I installed Ubuntu Lucid Lynx from scratch via the LiveCD installation.

The setup looks like this:

/dev/sda1: /boot (ext3)
/dev/sda2: cryptsetup/lvm containing / (ext4), /var (ext4), /home (ext4)

When the system boots up, it has to unlock the crypted partition, detect
the lvm and then mount the partitions.

This works well with the ext4 file system, but ...

Then I booted back into the LiveCD, tared up the contents of the / fs,
created a btrfs and untared back the contents. I changed the /etc/fstab
file and the /etc/initramfs-tools/modules file so that it contains all
necessary modules to mount the btrfs.

When I rebooted the machine, the password prompt appeared. I entered the
password, but the password prompt throw an error ("cryptsetup: unknown
fs type, bad password or options", kind of that) and I had to retype my
password twice. So in the end, I entered my password three times. Then
it mounted all partitions and went on booting. I figured out, that the
lvm was detected when I entered my password the first time, so it may be
the btrfs.

Althrough btrfs is not supported yet, I think this is a bug. Few people
use btrfs and if this bug gets fixed to the next release, it would be
very nice.

Thanks.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: boot btrfs cryptsetup lvm

-- 
Problems when booting an encrypted lvm containing btrfs
https://bugs.launchpad.net/bugs/551055
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list