Bug#1060411: initramfs: can't boot bcachefs storage with multi devices
On Wed, Jan 10, 2024 at 09:34:18PM +0100, antonio wrote:
> The problem is in the file "/usr/share/initramfs-tools/scripts/functions" and
> depends on the "get_fstype" and "resolve_device" functions that cannot locate
> or determine the file system (since bcachefs uses the form
> device:device:device).
See also #1061525.
> get_fstype ()
> {
> + if [ "$ROOTFSTYPE" == "bcachefs" ]; then
> + FSTYPE="$ROOTFSTYPE"
> + echo "$ROOTFSTYPE"
> + return 0
> + fi
I'm a bit unsure how this would work; unless you manually set
rootfstype=bcachefs on the GRUB command line, I think this is autodetected
from fstype (in klibc-utils), which doesn't understand bcachefs right now?
/* Steinar */
--
Homepage: https://www.sesse.net/
Reply to: