I ran into the same problem trying to use a raid1 btrfs for "/" in the
14.04 Xubuntu installer.  Just like above, I tracked it down to grub-
installer, patched it almost the exact same way, and then after the
installation finished it wouldn't boot.

Somewhere else in the installer it uses a grub-probe device scan to
populate the kernel options in the grub configuration, and again the
installer assumes that grub-probe only ever returns one device.  When I
went into the grub menu and viewed the entry, I found that it had listed
both of my btrfs devices on the kernel command line, separated by a line
break (which is just how grub-probe outputs them):

      linux /vmlinuz-3.13.0-20-generic.efi.signed root=/dev/mapper/vg-root1
  /dev/mapper/vg-root2 ro rootflags=subvol=@ quiet splash $vt_handoff

After editing that to remove the extra device it did get farther into
the boot.

In my case it still failed: I'm trying to use logical volumes for the
btrfs devices which are allocated from a volume group built from
encrypted partitions.  The resulting initramfs neverf asked for the
encryption passphrase(s), so it still couldn't find the root device and
dropped me into an initramfs shell.  For a more normal setup with just
plain btrfs partitions, editing the kernel line in the grub menu might
be enough to get it to boot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1265402

Title:
  Unity calls mapdevfs with wrong number of args on btrfs raid1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1265402/+subscriptions

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

Reply via email to