Re: Transferring an existing system from non-RAID disks to RAID1 disks in the same computer
From: Pascal Hambourg <hidden>
Date: 2023-01-21 15:17:04
On 21/01/2023 at 15:52, Reindl Harald wrote:
Am 21.01.23 um 15:38 schrieb Pascal Hambourg:quoted
On 21/01/2023 at 15:31, Reindl Harald wrote:quoted
Am 21.01.23 um 15:15 schrieb Pascal Hambourg:quoted
On 21/01/2023 at 13:17, Reindl Harald wrote:Quoting: "with uefi you can no longer have everything needed for boot on a RAID" AFAIK, that was never possible with legacy BIOS boot either. The MBR and GRUB core image were outside RAIDyeah, we all know that you need "grub-install /dev/sdx" on each device - that's common knowledge and stuff outside the RAID partitions and it's not something which got changed at kernel-updates and so irrelevantThen what is your point?what was your point when we all know that the MBR wanst't part of the RAID and frankly wasn't stored inside a partition at all
My point was that UEFI did not change the fact that "you cannot have everything needed for boot on a RAID", so nothing new here.
my point in that bugreport is that i don't want to manually call "backup-efi.sh" after kernel updates which are happening often on Fedora kernel-install.sh is responsible for create the initrd and so on - when i can tell that "call /scripts/backup-efi.sh" after you are done my ESP partitions on both drives are always in sync
What is written in the EFI partition on kernel update in Fedora ? In Debian, the EFI partition is written only on grub package update or when running grub-install.
and no the 1:1000000 chance that a crash happens between isn't relevant because the whole kenel-install/initrd dance isn't atomic at it's own
Not my point. My point is that if secondary EFI partitions are updated only during the boot sequence then they will be out of sync at the next boot following an update of the primary EFI partition.