[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot boot with BTRFS in degraded mode

From: Maxim Cournoyer
Subject: Re: cannot boot with BTRFS in degraded mode
Date: Fri, 06 Sep 2019 16:20:14 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Giovanni Biscuolo <address@hidden> writes:

> Hello Maxim,
> Maxim Cournoyer <address@hidden> writes:
> [...]
>> Also note that for the time being, the init script of Guix doesn't honor
>> the "rootflags" kernel argument.
> AFAIU this means Guix will not configure the grub parameter in the grub
> config, but if I pass "rootflags" via grub "manually" that should be
> passed to the kernel: right?

Fixing the Grub config (manually or not) is one thing, but not enough,
as it is the init script (contained within the initrd) run by the kernel
that mounts the root partition.  This script currently doesn't honor the
rootflags= argument given to the Linux kernel command line, which means
that you cannot pass extra options (such as 'degraded') to mount your
root partition during the early boot process of the system.

> Anyway, with the help of a friend, in a few hours we are going to test
> this solution :-)

Good luck!

>> The good news is that there is a patch awaiting testing/review that adds
>> support for it here:
> AFAIU it's a good patch, thanks!
> IMHO actually it's two patches merged togheter: "honor rootflags kernel
> parameter" and "Allow booting from a Btrfs subvolume", anyway it's a big
> imrovement for BTRFS users

Yes, there are different commits (patches) addressing those
sub-problems.  The bigger objective was to be able to boot from a Btrfs

> I'll try them and will report back!
> Thanks, Gio'

I will look forward to the report!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]