[Bug 1660882] Re: Can't boot from BTRFS RAID1

Brian Murray brian at ubuntu.com
Wed Feb 1 16:16:01 UTC 2017


** Tags added: yakkety

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

Title:
  Can't boot from BTRFS RAID1

Status in grub package in Ubuntu:
  New

Bug description:
  Ubuntu 16.10

  Steps to reproduce:

  1. Install Ubuntu with a BTRFS root partition (/dev/sdb2 on my
  system).

  2. After installation, convert to RAID 1 by adding another partition to the filesystem:
      $ btrfs device add /dev/sdb3 /
      $ btrfs filesystem balance /

  3. Reboot.

  4. Stuck at initramfs prompt.

  To get the system to boot I have to edit /boot/grub/grub.cfg and replace all instances of this:
      rootflags=subvol=@
  with this:
      rootflags=subvol=@,device=/dev/sdb2,device=/dev/sdb3

  The workaround can be applied permanently by editing /etc/grub.d/10_linux and replace this:
      rootflags=subvol=${rootsubvol}
  with this:
      rootflags=subvol=${rootsubvol},device=/dev/sdb2,device=/dev/sdb3

  Then run update-grub

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



More information about the foundations-bugs mailing list