This looks like a race condition when BTRFS is *not* used for the root
partition but only for subsequent mounts.

/etc/initramfs-tools/initramfs.conf has MODULES=most, so the btrfs
module is *not* included in the initramfs.
As such an error message like "btrfs is not included in modules.dep" is
printed.

The module only gets loaded later when systemd takes over and starts mouting the
other file systems.
- If I'm lucky /dev/disks/by-label/barrel points to the device where
  ID_BTRFS_READY=1 and systemd is happy and continues booting.
- If I'm unlucky, udev picks a device with ID_BTRFS_READY=0 and the boot
  aborts to emergency mode there

As a work-around for now I've added btrfs to
/etc/initramfs-tools/modules manually, which hopefully starts the device
scan of btrfs earlier and make my PC boot again automatically.

While searching for hints I've found a similar bug report in SUSE:
<https://bugzilla.novell.com/show_bug.cgi?id=753366>

Philipp
-- 
Philipp Matthias Hahn <pmh...@debian.org>
 GPG/PGP: 9A540E39 @ keyrings.debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to