Open aidalgol opened 2 years ago
This would be a great option to have. I'm in the same position as you: I have one EFI partition mounted as /boot, all the other disks mdadm'ed together in "metadata 1.0" mirror on /boot2, and then I just manually rsync /boot to /boot2 after every configuration change. Would be great for this all to be automatic.
[...] I just manually rsync /boot to /boot2 after every configuration change
You can convert /boot to mdadm raid after the initial install, look for "The hoops are" in https://lists.freedesktop.org/archives/systemd-devel/2017-December/039962.html. But it's not supported (and I stopped doing it).
UPDATE: A useful thread about mdadm mirror raid for /boot / ESP (and the dangers of doing it): https://github.com/systemd/systemd/issues/12468
+1 This would be really nice to have.
+1 This would be really nice to have.
FYI, #246897
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
I am installing NixOS on ZFS mirror pool (with two disks), with an EFI partition on each disk.
With GRUB, I could use the
boot.loader.grub.mirroredBoots
option, but I would prefer to usesystemd-boot
, so I am manually syncing the EFI partition on disk 1 to disk 2 after making changes. It would be nice to have an equivalent to this option forsystemd-boot
.