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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/01/2023 19:27, Pascal Hambourg wrote:
Why in initramfs-tools ? The initramfs has nothing to do with the bootloader installation nor the EFI partition so there is no need to resync EFI partitions on initramfs update (unless GRUB menu entries or kernel and initramfs images are in the EFI partition, which is not a great idea IMO). IMO the right place would be a hook called after the system configuration manager or the GRUB package runs grub-install, if that exists.

I think you've just put your finger on it. Multiple EFI partitions is outside the remit of linux, and having had two os's arguing over which was the right EFI, I really don't think the system manager - be it yast, yum, apt, whatever - is capable of even trying. With a simple configuration you don't have mirrored EFI, some systems have one EFI per OS, others have one EFI for several OSes, ...

At the end of the day, it's down to the user, and if you can shove a quick rsync in the initramfs or boot sequence to sync EFIs, then that's probably the best place. Then it doesn't get missed ...

Cheers,
Wol



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux