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

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 it

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

2021-01-22 Diskussionsfäden Matteo Guglielmi
boot/grub2/grub.cfg elif ifclass DEBIAN ; then label='debian' bootloader='\EFI\debian\grubx64.efi' update-grub -o /boot/grub/grub.cfg elif ifclass UBUNTU ; then label='ubuntu' bootloader='\EFI\ubuntu\grubx64.efi' update-grub -o /boot/grub/grub.cfg

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 case

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 mor

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 q

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 htt