[systemd-devel] "bootctl install" on mdadm raid 1 fails
Andrei Borzenkov
arvidjaar at gmail.com
Sat Dec 9 05:56:31 UTC 2017
09.12.2017 01:33, Bjørn Forsman пишет:
> Hi all,
>
> I assumed bootctl would be able to install onto a mdadm raid 1 array
> (mirror). But this happens:
>
> $ bootctl --path=/mnt/boot install
> Failed to probe partition scheme "/mnt/boot": Input/output error
>
> The raid array is created with --metadata=0.90 (superblock at the end
> of device). systemd v234 was used for testing.
>
> I see people online that have worked around this by setting up the ESP
> (/boot) manually, and finalizing the install with 2x calls to
> efibootmgr. But I'm hoping for bootctl to handle this for me :-)
>
> Any ideas?
>
Firmware is unaware of MD RAID and each partition is individually and
independently writable by firmware. Pretending that you can mirror them
on OS level is simply wrong.
Also each ESP requires own boot menu entry to be usable.
Having common cross-bootloader standard of representing and dealing with
redundant ESP would be good thing though. But mdadm is not one one of
them :)
More information about the systemd-devel
mailing list