У ср, 2025-11-12 у 08:32 +0200, Roman Riabenko пише:
> У ср, 2025-11-12 у 01:15 +0000, Marius via пише:
> > The thing is that i've configured the encrypted disk as a BTRFS
> > filesystem with --checksum xxhash (xxhash64 as btrfs decided), --
> > metadata single, -n 32k (so nodesize of 32KiB). I give you this
> > info
> > in case it helps with helping out.
> >
> > When booting into the initrd I get this error that says that it's
> > unable to open the filesystem because no xxhash64 hash is
> > available.
> >
> > From this message I understand that probably the initrd is lacking
> > the xxhash64 module in order to read the btrfs filesystem.
> >
> > So how do I specify to the operative-system config the initrd-
> > module
> > so it gets built and loaded? I know there is the operative-system
> > keyname/field initrd-modules that I can supply with an improper
> > list
> > with modules to load. But which is the correct name for the
> > xxhash64
> > module? From internet I got that there's a xxhash-generic module
> > for
> > the linux kernel. Would that work ("xxhash-generic")?
>
> The following option in the operating-system declaration allows me to
> boot with the root partition formatted as btrfs with --checksum
> xxhash,
> which has csum_type xxhash64 as the result.
>
> (initrd-modules (cons "xxhash_generic" %base-initrd-modules))For this configuration to build, it is also necessary to add "linux" to "use-service-modules", which is usually in the top of the system configuration. (use-service-module linux ... Roman
signature.asc
Description: This is a digitally signed message part
