unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 40997-done@debbugs.gnu.org
Subject: bug#40997: [raid] The bootloader can only be installed to a single drive
Date: Sun, 29 Aug 2021 01:19:26 -0400	[thread overview]
Message-ID: <87v93orfoh.fsf@gmail.com> (raw)
In-Reply-To: <877dgw36n6.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 08 Aug 2021 00:25:01 -0400")

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> maxim.cournoyer@gmail.com writes:
>
>> Using Guix System, the bootloader declaration doesn't currently seem to
>> support being installed to multiple drives:
>>
>> (bootloader (bootloader-configuration
>>                  (bootloader grub-bootloader)
>>                  (target "/dev/sda")
>>                  (terminal-outputs '(console))))
>>  --8<---------------cut here---------------end--------------->8---
>>
>> I suggest to change it so that target can be passed a list like
>>
>> (bootloader (bootloader-configuration
>>                  (bootloader grub-bootloader)
>>                  (target '("/dev/sda" "/dev/sdb"))
>>                  (terminal-outputs '(console))))
>>  --8<---------------cut here---------------end--------------->8---
>>
>> This is useful when trying to boot a degraded RAID array.
>
> The following patches do exactly this (target becomes the plural
> targets).  I tested it on my system, disconnecting the first drive of my
> RAID1 array, and could at least boot to GRUB fine (although full boot
> failed due to https://issues.guix.gnu.org/40999).
>
> Booting a VM using an image generated from the bare-bones.tmpl template
> also worked fine.

Pushed with commit 2ca982ff41270288913ad6b7d5d9e1cad87b06d9.

Closing!

Maxim




      reply	other threads:[~2021-08-29  5:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 13:45 bug#40997: [raid] The bootloader can only be installed to a single drive maxim.cournoyer
2021-08-08  4:25 ` Maxim Cournoyer
2021-08-29  5:19   ` Maxim Cournoyer [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87v93orfoh.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=40997-done@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).