OK, attached are some initramfs scripts:

local-top.hook -> /etc/initramfs-tools/hooks/btrfs-lvm
local-top.script -> /etc/initramfs-tools/scripts/local-top/btrfs-lvm

I've tried to make them reasonably generic, the root fs is examined on
initramfs creation, component btrfs devices extracted and tested to see
if they are LVM LVs, and if so added to a config file inside them
initramfs. Then on boot all those LVs are activated before attempting to
mount root.

** Attachment added: "/etc/initramfs-tools/hooks/btrfs-lvm"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1848180/+attachment/5447425/+files/local-top.hook

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

Title:
  LVM initrd fails to activate btrfs multidevice root

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

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

Reply via email to