forward 1061525 https://savannah.gnu.org/bugs/index.php?65151
block 1061525 by 1060256
block 1061525 by 1060411 
tags 1061525 + patch
kthxbye

On Thu, Jan 25, 2024 at 10:44:04PM +0100, Steinar H. Gunderson wrote:
>  - Likewise, root= on the kernel command line must contain the UUID
>    or the initramfs scripts will wait on some colon-separated device that does
>    not (and will never) exist. grub-mkconfig must be updated to write root=
>    _back_ from a colon-separated device list to a UUID; I don't know if there
>    is already some kind of support for UUID-roots, but I think so.
>    As of today, it fails with:
> 
>      /usr/sbin/grub-probe: error: failed to get canonical path of 
> `/dev/nvme1n1p1:/dev/dm-2'.

Patch in https://savannah.gnu.org/bugs/index.php?65151 .

>  - initramfs must contain mount.bcachefs, since that is the only thing
>    that knows how to probe a UUID into multiple devices. This means that
>    the Rust parts needs to be built again, too (see #1060256).

#1060256 now has a patch/unofficial package.

>  - The initramfs scripts attempt to rewrite UUID=<foo> _back_ to a
>    single /dev device through probing, and give that to mount. It needs
>    to avoid doing so for (multi-device) bcachefs filesystems, or they
>    will never mount since they contain too few devices.

Fix in #1060411.

I've verified that this makes my multi-device root filesystem (specified with
UUID= in fstab, and without errors=remount-ro) configure GRUB and boot on its
own, without any obvious issues.

/* Steinar */
-- 
Homepage: https://www.sesse.net/

Reply via email to