[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is there a way to write the bootloader to multiple drives?
From: |
myglc2 |
Subject: |
Is there a way to write the bootloader to multiple drives? |
Date: |
Tue, 16 May 2017 10:23:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
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
- Is there a way to write the bootloader to multiple drives?,
myglc2 <=