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

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 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

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

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 -- 

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 #

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

Re: RAID + UEFI

2021-01-22 Diskussionsfäden Matteo Guglielmi
varoius snippets to get RAID + UEFI # disk_config/EFIKEES disk_config disk1 disklabel:gpt fstabkey:uuid primary /boot/efi 512M vfat rw createopts="-n EFIS" primary - 20G--- primary - 10G-50G -- primary - 10G -- disk_co

Re: RAID + UEFI

2021-01-22 Diskussionsfäden Thomas Lange
> On Thu, 21 Jan 2021 18:13:25 +0100, Alexander Thomas > said: > I would prefer the second method because it is not a hack. I have > successfully tried it with only 1 disk in the RAID during install, but > with 2 disks there is a problem. The disk_config for this 2-disk

Re: RAID + UEFI

2021-01-21 Diskussionsfäden Alexander Thomas
On Thu, 14 Jan 2021 at 19:04, Thomas Lange wrote: > > Hi Alexander, > > my short search found some links that all say, UEFI cannot boot > software AID. This makes much sense to me. The solution seems to have > a /boot/efi partitions on each disk and have two UEFI boot entries. OK, after some

Re: RAID + UEFI

2021-01-14 Diskussionsfäden Anders Jackson
Hello. Den 2021-01-14 18:41 skrev "linux-fai på uppdrag av Alexander Thomas" följande: What a brilliant design to bind tab to “move focus to send button” and also bind space to “push button”. Sorry for the incomplete message, here is a second attempt: __ ... An important

Re: RAID + UEFI

2021-01-14 Diskussionsfäden Thomas Lange
Hi Alexander, my short search found some links that all say, UEFI cannot boot software AID. This makes much sense to me. The solution seems to have a /boot/efi partitions on each disk and have two UEFI boot entries. https://askubuntu.com/questions/66637/can-the-efi-system-partition-be-raided

RAID + UEFI

2021-01-14 Diskussionsfäden Alexander Thomas
a UEFI environment. Since we already have a working configuration for the RAID + BIOS/MBR case, and also a working configuration for the non-RAID UEFI case, we thought it would be relatively easy to configure the RAID+EFI case, but this is of course not as trivial as it first seemed. The current attempt

RAID + UEFI

2021-01-14 Diskussionsfäden Alexander Thomas
We are trying to provide a FAI-based installer for several different scenarios. One of those scenarios is software RAID inside a UEFI environment. Since we have a working configuration for the RAID + BIOS/MBR case, we thought it would be relatively easy to port it to the EFI case, but this is of