emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#40997: closed ([raid] The bootloader can only be installed to a sing


From: GNU bug Tracking System
Subject: bug#40997: closed ([raid] The bootloader can only be installed to a single drive)
Date: Sun, 29 Aug 2021 05:20:02 +0000

Your message dated Sun, 29 Aug 2021 01:19:26 -0400
with message-id <87v93orfoh.fsf@gmail.com>
and subject line Re: bug#40997: [raid] The bootloader can only be installed to 
a single drive
has caused the debbugs.gnu.org bug report #40997,
regarding [raid] The bootloader can only be installed to a single drive
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
40997: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40997
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [raid] The bootloader can only be installed to a single drive Date: Fri, 01 May 2020 09:45:00 -0400
Using Guix System, the bootloader declaration doesn't currently seem to
support being installed to multiple drives:

--8<---------------cut here---------------start------------->8---
(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
--8<---------------cut here---------------start------------->8---
(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.

Maxim



--- End Message ---
--- Begin Message --- Subject: Re: bug#40997: [raid] The bootloader can only be installed to a single drive Date: Sun, 29 Aug 2021 01:19:26 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
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


--- End Message ---

reply via email to

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