unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: myglc2 <myglc2@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: Is there a way to write the bootloader to multiple drives?
Date: Tue, 16 May 2017 10:23:56 -0400	[thread overview]
Message-ID: <867f1ganib.fsf@gmail.com> (raw)

I have a headless GuixSD server w/raided system drive ...

(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  ;; RAID1 root using 1 NVMe SSD + 2 HDs
  (bootloader (grub-configuration (device "/dev/nvme0n1")))
  (initrd (lambda (file-systems . rest) (apply base-initrd file-systems
					       #:extra-modules '("raid1")
					       rest)))
  (mapped-devices (list (mapped-device
			 (source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
			 (target "/dev/md3")
			 (type raid-device-mapping))))
  (file-systems (cons (file-system
			(title 'device)
			(device "/dev/md3")
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))

It works great, but, when the bootloader device is lost, the system
won't boot :-( I looked at the doc and Mathieu Othacehe's current patch
-- (Re: bug#26339: [PATCH] doc: Adapt to multiple bootloader support) --
which doesn't seem to address this question, so I am wondering ...

Is there a way to have 'guix system reconfigure' write the bootloader to
multiple drives?

TIA - George

             reply	other threads:[~2017-05-16 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 14:23 myglc2 [this message]
2017-05-16 19:48 ` Is there a way to write the bootloader to multiple drives? Ludovic Courtès
2017-05-17  3:16   ` myglc2

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=867f1ganib.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --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.
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).