From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4JgNHioZK2EUawEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 07:20:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CBUGGSoZK2E2cwAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 05:20:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B257BB3CE for ; Sun, 29 Aug 2021 07:20:41 +0200 (CEST) Received: from localhost ([::1]:53986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKDFH-0006xk-1K for larch@yhetil.org; Sun, 29 Aug 2021 01:20:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKDEg-0006sy-Tw for bug-guix@gnu.org; Sun, 29 Aug 2021 01:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKDEg-0007No-MQ for bug-guix@gnu.org; Sun, 29 Aug 2021 01:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKDEg-0004Te-Hi for bug-guix@gnu.org; Sun, 29 Aug 2021 01:20:02 -0400 Subject: bug#40997: [raid] The bootloader can only be installed to a single drive Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 29 Aug 2021 05:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40997 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 40997-done@debbugs.gnu.org Mail-Followup-To: 40997@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 40997-done@debbugs.gnu.org id=D40997.163021437617167 (code D ref 40997); Sun, 29 Aug 2021 05:20:02 +0000 Received: (at 40997-done) by debbugs.gnu.org; 29 Aug 2021 05:19:36 +0000 Received: from localhost ([127.0.0.1]:55288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKDEF-0004Sp-Tt for submit@debbugs.gnu.org; Sun, 29 Aug 2021 01:19:36 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:42705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKDED-0004Sa-AC for 40997-done@debbugs.gnu.org; Sun, 29 Aug 2021 01:19:34 -0400 Received: by mail-qk1-f179.google.com with SMTP id t4so11957584qkb.9 for <40997-done@debbugs.gnu.org>; Sat, 28 Aug 2021 22:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=EwzBhijJdQ0pANiG6qF3y5/mIE15k3IPENn3IuhMCsY=; b=my/meIwGOk1TjlcFkDbGxX2HPP9EIgJHdzHlJazaxRD7G10CXt8mHSdGEQWmmTX8BS 9CRCwMjHZlQEEgr9JpIpfN9OSeW+PpC3yrV7wHBcFxEPyGhWIlddbnH/k4kmbxFaf34d A86OrXq4B8JC8ICcSgsMSrfrn1E/YoKBSzPRSRPmLx21QeAI6Xyh4tOxGXl0FaYf+Xpz ltcYUM8LRtaJkiFfAMOGLwZOlSRMHiyvNyz9pKkdTaWAmwr35ElS3/oHZ0xSw/gjNqcU d8dp9Y47eAaIfUcjMYgFLzaCBBNHazL0ngs0CHLq6fNqunegPRLo4JDgDk6vA21H9w2H RRFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EwzBhijJdQ0pANiG6qF3y5/mIE15k3IPENn3IuhMCsY=; b=Ov96eXtT+4rnC2Nvx4EtwIC8JqEtdp8L0BQ24esto3KVwfiW+VTbvSa2h+j5Zys5G3 btXEvyq+CLhmtUZsqL+NpgWtpIA6eH7bvnioCOHY2FIHYSurVOzGxhKe7H0JP0tcBFrD gPoLpjbZSBb+JOIw//yRWWw+HMJhPTRI8k3ehE/YRsCmJ2ySV1jzLoeC2gujHXbjb3K8 EeJoVBnLAQOrHtrIxkvNH0SQGfaajtfKena8faQK9jTDV4R+DPYSRYasZrPnYXzGGL9n 46JP4GE0lN7z+RFXwDGdqmyKYxkXI4bsVJuFfxXOcP5I99R5E8RtvXzmmxpucqGBV6Zz XLhw== X-Gm-Message-State: AOAM530nv7SxqeMnw34HfRPLUXyejx/dO4fDmgVz3pYpSwdencVZguDM ACSoKAbTBpSYU3L8Pk3u9AeDtazBhOc= X-Google-Smtp-Source: ABdhPJxSUwOKOIgeVf8bA1sKAfyQJEAkq4WfEfzp/GypHXfjDXOosl/DC2PL95dRtfGorHLoDgyKeg== X-Received: by 2002:a37:b3c6:: with SMTP id c189mr16383846qkf.343.1630214367494; Sat, 28 Aug 2021 22:19:27 -0700 (PDT) Received: from hurd (dsl-205-151-56-126.b2b2c.ca. [205.151.56.126]) by smtp.gmail.com with ESMTPSA id c7sm6605044qtv.9.2021.08.28.22.19.26 for <40997-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Aug 2021 22:19:27 -0700 (PDT) From: Maxim Cournoyer References: <87wo5vkbvn.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> <877dgw36n6.fsf@gmail.com> Date: Sun, 29 Aug 2021 01:19:26 -0400 In-Reply-To: <877dgw36n6.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 08 Aug 2021 00:25:01 -0400") Message-ID: <87v93orfoh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630214442; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=EwzBhijJdQ0pANiG6qF3y5/mIE15k3IPENn3IuhMCsY=; b=GLEoEZPiSl5k7uxVahDLLCKBGcvUz8mN8V5fB+FJ0cJuFPPm+xLhnvWoWhn8XtP6d4V0Sx 2b+N28SrNIKUykwIFDj4+Qo46dKgpVYT/MIwnylfWp8O9/KqCp7GPFv5CqiPL8Uqjj+YmU MOnZqeM4OoAI9W2ubouwaLV2YDOoZcqXTlV1WoolxmLwc/e1yvPshMGul79es5tZ5W3922 Oyu62+moULSUmaNI4DUpOizzuhi6SYimPd5gj+wP05Fskn0XSMbPJrld0xneSo570MpM2P Sh+rrhlyHZrJVd68PRvWxZLK1kNoc5LbO/fElPGbxuBQ0ODvR+AkIResXk3DPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630214442; a=rsa-sha256; cv=none; b=HEIf86xl6YK0+wyvG0JVBj8ll6YqGmrRwd7+Jfr4VCF2Kr8oB2gR/mTF8hSmYmaZT5ijjU DGFlcDJgKnXIS15tbLwb8m945tN0gqKAuNRh1Tz+ST7UoplMTUv/B4m4j72rNAIW4wH0m8 jWR87AGdpa2TZ6ZyqzQ6xS1+qs1CnBpTK2UHoS4cUAH8pjfUEKdNj1+NHdjjzKUwT+++PF zXYZGgsI7cdpKUOBaBAXgUuEBBr5tSaA8SUVTLxE6LtNXP8VsD/ZasIazuutA6N+L11MSw oO3QDOGdExYh9XKV4l9AbEhTCVlPZfYxeQIGEYswpgHtXqL/kA3wWhWWYhaWyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="my/meIwG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="my/meIwG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B257BB3CE X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: zH75MOBcGSmj Hello, Maxim Cournoyer 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