Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #81682

Bug#1060411: initramfs: can't boot bcachefs storage with multi devices

From "Steinar H. Gunderson" <sesse@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1060411: initramfs: can't boot bcachefs storage with multi devices
Date 2024-01-28 11:10 +0100
Message-ID <I1agV-67KF-1@gated-at.bofh.it> (permalink)
References <HUNwJ-2coq-3@gated-at.bofh.it> <HUNwJ-2coq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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/

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1060411: initramfs: can't boot bcachefs storage with multi devices antonio <antdev66@gmail.com> - 2024-01-10 21:40 +0100
  Bug#1060411: initramfs: can't boot bcachefs storage with multi devices "Steinar H. Gunderson" <sesse@debian.org> - 2024-01-28 11:10 +0100
    Bug#1060411: initramfs: can't boot bcachefs storage with multi devices "Steinar H. Gunderson" <sesse@debian.org> - 2024-01-28 12:20 +0100

csiph-web