7
Aldar
2y

I hate servers that only support EFI boot with a passion. Yes, legacy / BIOS boot is old, but it was so simple. I've been spending hours trying to get EFI boot working on servers with swraid-ed disks and *nothing* works without ugly hackish patches all over!

Anyone successfully got an EFI partition (/boot/efi) on an MDRaid device? D':

Comments
  • 2
    I have put it onto an simple partition outside lvm/mdadm
  • 0
    @stop That's the only solution I found so far, but I worry that the two disks would eventually desync when someone forgets remount the second disk's efi partition when updating the BL... And I'd have to make a grub hook to always install on sdb as well.
  • 0
    If you're doing MD RAID 1 then make the efi partition one array with metadata version 0.9 and the rest of the disk as another array with metadata version 1.2
  • 3
    Hardware solution: Connect a USB stick to an unused USB header on the mainboard and use it as EFI boot device and for Linux /boot. You will never have any problems with your raid setup and as the stick gets rarely written, it should outlast the disks.
Add Comment