While reinstalling a server and moving it to Debian, I ran into the problem that I need to sync the EFI partitions. The system is using a RAID on two disks, but the EFI partitions can't be a RAID and need to exist on both disks. Or rather it is useful to have the EFI partition on every disk: if one disk fails, the system can boot from the other disk. grub only installs the necessary files on one partition. However one can use a script as grub hook, and sync all partitions. This script needs to determine if a device is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.
Posted by ads' corner on Friday, July 26, 2024
Moving my systems away from Ubuntu, I also have to reinstall a server at home. This system has two equal disks for a RAID system, and my plan is to install Debian on it. Turns out, setting up a Software RAID on Debian and booting from EFI is not a straightforward approach. This blog posting describes the steps.
Posted by ads' corner on Friday, July 19, 2024