unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Is there a way to write the bootloader to multiple drives?
@ 2017-05-16 14:23 myglc2
  2017-05-16 19:48 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: myglc2 @ 2017-05-16 14:23 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-17  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 14:23 Is there a way to write the bootloader to multiple drives? myglc2
2017-05-16 19:48 ` Ludovic Courtès
2017-05-17  3:16   ` myglc2

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).