Bug#784234: initramfs-tools: searches for fsck.btrfs in the wrong directory
Package: initramfs-tools
Version: 0.120
Followup-For: Bug #784234
Hi, I also still got this error, after purged and reinstalled btrfs-tools.
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
cryptsetup: WARNING: failed to detect canonical device of /dev/sda3
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
Warning: /sbin/fsck.btrfs doesn't exist, can't install to initramfs, ignoring.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 17M May 10 10:13 /boot/initrd.img-3.16.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=5334a911-628f-463d-aba2-7920bcd5ae4e ro
-- resume
RESUME=/dev/sda2
-- /proc/filesystems
btrfs
fuseblk
vfat
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
sda4_crypt /dev/sda4 none luks
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
btrfs
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fsck
fuse
intel_microcode
keymap
klibc
kmod
lvm2
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (2, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.22.0-15
ii cpio 2.11+dfsg-4.1
ii klibc-utils 2.0.4-2
ii kmod 20-1
ii module-init-tools 20-1
ii udev 215-17
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-15
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4.1
-- no debconf information
--
Adam Lee
http://adam8157.info
Reply to: