Thread (49 messages) 49 messages, 6 authors, 2023-01-23

Re: Transferring an existing system from non-RAID disks to RAID1 disks in the same computer

From: Reindl Harald <hidden>
Date: 2023-01-21 18:57:18


Am 21.01.23 um 19:52 schrieb Pascal Hambourg:
On 21/01/2023 at 17:24, Reindl Harald wrote:
quoted
Am 21.01.23 um 16:17 schrieb Pascal Hambourg:
quoted
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.
useless nitpicking isn't helpful
Barking up the wrong tree isn't useful either. EFI is not the culprit.
but the root cause - cause and effect
quoted
quoted
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 where do you think is the kernel-selection stored?
I already wrote I don't know anything about Fedora.
quoted
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault
I did not find any information about where the kernel-selection is 
stored in this page.
in /efi/loader/entries/
quoted
[root@srv-rhsoft:~]$ ls /efi/loader/entries/
I guess /efi it the EFI partition mount point. Well then, any system 
tool that populates this directory should be able to manage multiple EFI 
partitions.
yeah, and some tools think they have to rewrite every snippet in that 
dir no matter from which os-install
quoted
quoted
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
nobody is takling about update it during the boot sequence
Please re-read the thread.
In Message-ID: [ref], 
Wol wrote:
quoted
quick rsync in the initramfs or boot sequence to sync EFIs, then 
that's probably the best place.
yeah, initramfs is fine becaus ethat's generated due kernel-install
And in Message-ID: [ref], 
after I expressed disagreement, you wrote:
quoted
these ARE adequate places
ok, my mistake: initramfs generation is fine because at that point 
everything is already there, the initrd is locate don the EFI and when 
that's finished is the point to sync a backup-ESP
quoted
* kernel-install generates initrd and boot entries
* kernel-install needs a drop-in to run a script
   after it's finished
* that script can rsync /efi/ to /efi-bkp/ or whereever
   you mount the ESP on the second drive
* case closed - the ESP on both drives have the same
   content and it just works

for now you need to rsync manually
and that was my point
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help