all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: cannot boot with BTRFS in degraded mode
Date: Fri, 06 Sep 2019 16:20:14 +0900	[thread overview]
Message-ID: <87ef0tx55d.fsf@gmail.com> (raw)
In-Reply-To: <87zhjiym0e.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Fri, 06 Sep 2019 08:30:41 +0200")

Giovanni Biscuolo <g@xelera.eu> writes:

> Hello Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> 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:
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37305.
>
> 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
subvolume.

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

I will look forward to the report!

Maxim

  reply	other threads:[~2019-09-06  7:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 14:36 cannot boot with BTRFS in degraded mode Giovanni Biscuolo
2019-09-04 20:49 ` Gábor Boskovits
2019-09-04 21:02   ` Gábor Boskovits
2019-09-05 14:17   ` Giovanni Biscuolo
2019-09-06  1:00     ` Maxim Cournoyer
2019-09-06  6:30       ` Giovanni Biscuolo
2019-09-06  7:20         ` Maxim Cournoyer [this message]
2019-09-06  9:47           ` Giovanni Biscuolo
2019-09-07  0:20             ` Maxim Cournoyer
2019-09-06  7:21         ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ef0tx55d.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=g@xelera.eu \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.