RAID + UEFI

2023-09-20 Diskussionsfäden Thomas Kloepfer
Hello, I am rather new to FAI. But I am impresst by this great tool. Especially by the documentation that commes with it. But I am suprised I do not find any working example on how to set up a simple RAID 1 with UEFI boot. I read all the discussions in this mailinglist (found two threads dea

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Justin Cattle
Hi, There's probably a few different ways to do this. Here is a fairly generic disk_config example I created last time I was working on FAI. I haven't used the config n a while, but it's should be some inspiration even if it doesn't work for you as it is: $ cat disk_config/FAIBASE_EFI_RAID # de

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Andrew Ruthven
Hey, Just a note that I've found that some hardware doesn't like /boot/efi being on RAID1. Which is rather disappointing. But otherwise, the examples that Justin provided look very similar to what I've succesfully used (although sometimes without the RAID1 for /boot/efi!) Cheers, Andrew --  Andr

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Diego Zuccato
TL;DR: IMO having /boot/uefi on (sw) RAID1 is not worth the headaches. Long version follows. That's quite normal. You should use older RAID format that places metadata at the end of the partition instead of the newer that places it at the beginning. And even so it's risky, since one of the part

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Andrew Ruthven
On Wed, 2023-09-20 at 09:52 +0200, Diego Zuccato wrote: > TL;DR: IMO having /boot/uefi on (sw) RAID1 is not worth the headaches. > Long version follows. > > That's quite normal. You should use older RAID format that places > metadata at the end of the partition instead of the newer that places it

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Thomas Kloepfer
Hello Justin, thanks for the quick answer. I tried to use your disk_config. And I get a a raid as expected. But the script for settign up grup [ config/scipts/GRUP_EFI/10-setup ] fails. Hence I end up with a system tha can not boot. What I find in [ scripts.log ]:

Re: RAID + UEFI

2023-09-20 Diskussionsfäden Justin Cattle
Hi, I think we do have some customisation in the various scripts, including GRUB_EFI/10-setup, that may account for it. As our script for grub is quite custom to our use case, I'm not sure I can share it I'm afraid. But, that is where you need to start investigating. This is from vague recollect